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
Duplicate flattened nameds aren't filtered out #2784
Comments
From kristofbogaerts@gmail.comp6: sub s_s(*%n) { %n>>.say }; s_s(|{:assoc<list>}, :assoc<left>); # p6: sub s_s(*%n) { %n>>.say }; s_s(:assoc<list>, :assoc<left>); jnthn: |
From @masak<masak> TimToady: ok, now I'm backlogging. I see a lot of trying stuff At least two of them is wrong. I think rakudo-jvm is right, above. |
From @cokeOn Thu Jun 07 13:07:46 2012, kristofbogaerts@gmail.com wrote:
16:11 < [Coke]> p6: sub s_s(*%n) { %n>>.say }; s_s(|{:assoc<list>}, -- |
The RT System itself - Status changed from 'new' to 'open' |
From @cokeOn Thu Aug 21 13:12:32 2014, coke wrote:
Looks better, but I think we need jvm & moar to agree here. 06:12 < [Coke]> r: sub s_s(*%n) { %n>>.say }; s_s(|{:assoc<list>},:assoc<left>); 06:16 < [Coke]> when flattening duplicate named args, does the one that gets picked matter? -- |
From @skidsThis seems to be simply a matter of a shared method not being If the subclass does not have its own method definition, the $ perl6 -e 'use nqp; class A { method foo { say "OHAI " ~ self.^name ~ nqp::getattr(&?ROUTINE, Routine, "\$!package").^name; nextsame;} }; class B is A { method foo { say "OHAI " ~ self.^name ~ nqp::getattr(&?ROUTINE, Routine, "\$!package").^name ; nextsame;} }; B.new.foo();' |
The RT System itself - Status changed from 'new' to 'open' |
From @jnthnOn Sun Feb 02 13:28:22 2014, masak wrote:
This isn't actually anything to do with nextwith, but in fact the named arg flattening order bug in disguise: 17:11 < jnthn> r: sub s_s(*%n) { %n>>.say }; s_s(|{:assoc<list>},:assoc<left>); So, merging it into that ticket. /jnthn |
From @jnthnOn Sat Aug 29 03:18:43 2015, coke wrote:
Fixed now: $ perl6-m -e "sub s_s(*%n) { %n>>.say }; s_s(|{:assoc<list>},:assoc<left>);" left Tests in S06-signature/named-parameters.t. /jnthn |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#113546 (status was 'resolved')
Searchable as RT113546$
The text was updated successfully, but these errors were encountered: