On Fri Jan 02 12:21:24 2009, dave.wh...@gmail.com wrote:
> The default "new" method allows values of attributes to be set as
> named args -- but rakudo doesn't hoist params from base classes:
> 
>       <dwhipp>        rakudo: class A { has $.foo }; class B is A { has $.bar 
> };
> B.new( foo => 1, bar => 2)
>       <p6eval>        rakudo 34834: OUTPUT«You passed an initialization 
> parameter
> that does not have a matching attribute.␤current instr.: 'die' pc
> 14812 (src/builtins/control.pir:204)␤»

This appears to be a duplicate of RT #61478, so merging tickets.  The
problem also appears to be resolved in that ticket and is simply
awaiting spectest verification.

Thanks!

Pm

Reply via email to