You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<masak> rakudo: class A { method foo(A :$a) { say $a.WHAT } }; A.new.foo
<p6eval> rakudo 72f914: OUTPUT«Any()»
<masak> jnthn: has this been reported? the fact that $a is of a type
that wouldn't bind?
<jnthn> masak: Looks odd.
* masak submits rakudobug
<jnthn> Is it peculiar to nameds?
<ash__> rakudo: class A {}; sub foo(A :$a) { say $a.WHAT }; foo;
<p6eval> rakudo 72f914: OUTPUT«Any()»
<masak> so, not specific to nameds.
<jnthn> oh good
<jnthn> It's an easy fix then, I expect.
* jnthn is a little surprised we musta gone many months with this bug.
<masak> jnthn: we have too few spectests :)
<masak> rakudo: sub foo(Int $a = "OH HAI") { say $a }; foo
<p6eval> rakudo 72f914: OUTPUT«OH HAI»
<masak> that was fun, too :)
Migrated from rt.perl.org#74758 (status was 'resolved')
Searchable as RT74758$
The text was updated successfully, but these errors were encountered: