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
Parameter Bug #5112
Comments
From cchayniepublic@gmail.comHello, I think is a bug, and I think it's in Perl6. I was not able to find a The reported error is: Net::WebSocket::Server parameter 'on_tick' expected type is CODE at -e in method invoke Here is the program, in its entirety. #!/usr/bin/env perl6 use Inline::Perl5; use Net::WebSocket::Server:from<Perl5>; my $ws = Net::WebSocket::Server.new( Sincerely, Craig Haynie |
From @ninerThis was actually an issue with Inline::Perl5 that wrapped Perl 6 Callables in objects and used overload to provide callability. Code in Net::WebSocket::Server however expected a real genuine CODE reference and would accept nothing else. So that's what we now create in Inline::Perl5 v0.4. Please upgrade Inline::Perl5 and try again. Should work now. Thanks for the report! |
@niner - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#127454 (status was 'resolved')
Searchable as RT127454$
The text was updated successfully, but these errors were encountered: