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
Problem when instantiating a class which has an argument typed as a class which loads a grammar in Rakudo #600
Comments
From @masakThe following three correct Perl 6 modules give a runtime error in $ cat CGI.pm class CGI { $ cat URI.pm class URI; use URI::Grammar; $ cat URI/Grammar.pm $ perl6 -e 'use CGI; CGI.new' The fact that the last file contains 'grammar' is irrelevant; 'class' These things make the problem go away: * Removing the 'URI' typing of the $.uri attribute in CGI.pm. |
From @pmichaudOn Sat Jan 10 07:06:01 2009, masak wrote:
I'm not sure this is legal Perl 6. S11 says that the "class Foo;" form One could also eliminate the "use v6;", but I suspect that doesn't work Thanks! Pm |
The RT System itself - Status changed from 'new' to 'open' |
From @pmichaudOn Sat Jan 10 07:23:00 2009, pmichaud wrote:
It should now be working. Assigning ticket to moritz for appropriate Thanks! Pm |
From @moritzAfter lying in my queue for a quarter year I've finally written the Cheers, |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#62162 (status was 'resolved')
Searchable as RT62162$
The text was updated successfully, but these errors were encountered: