Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed redundant(?) methods hash. gave warnings #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dnmfarrell
Copy link

Hey,

This line was emitting a warning:

Code object coerced to string (please use .gist or .perl to do that)  in method new at lib/HTTP/Server/Simple.pm6:24

I couldn't see %methods being used anywhere so I removed the line.

Thanks

@dnmfarrell
Copy link
Author

Or if it is being used, maybe change it to:

 my %methods = self.^methods.map({.gist}) Z 1..*;

(untested)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant