Skip to content

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