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
'our'/package declaration with several variables gives bogus multiple declarations error in Rakudo #2594
Comments
From @masak<masak> nom: package Color { our ($red, $green, $blue) = 1..* }; say Color::blue All the above declarations should be kosher, IMO. |
From kris@shannon.id.auCaused by the $*W.mark_cur_lexpad_signatured(); in Perl6::Actions::signature. |
From kris@shannon.id.auOn Thu Dec 29 12:20:41 2011, Kris.Shannon wrote:
Umm, not exactly, but related to that in that our ($a, $b); tries to add them as parameters Modifying token declarator to use: '(' ~ ')' [ <.newpad> <signature> { $*W.pop_lexpad() } ] <trait>* fixes the problem, but I'm not sure that's the right answer. |
The RT System itself - Status changed from 'new' to 'open' |
From @ronaldxsSome other simple current one liner examples with similar error symptoms our ($a) = 1 and (our ($a)) |
From @ronaldxsAs noted for golf on IRC July 22 and recommended by jnthn++ our ($x) is enough to yeild the same symptoms. |
From @jnthnOn Mon Jul 23 12:03:45 2012, ronaldxs wrote:
Fixed:
Tagging testneeded. /jnthn |
From @FROGGSadded test: <FROGGS> nrp: package Color { our ($red, $green, $blue) = 1..* }; say |
@FROGGS - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#107270 (status was 'resolved')
Searchable as RT107270$
The text was updated successfully, but these errors were encountered: