On Thu Dec 18 13:04:15 2008, masak wrote:
> <masak> rakudo: class A { has $.bar; }; class B is A { has Int $.foo
> }; class C is B; my $m = C.new( A{ :bar<baz> }, B{ :foo<5> } ); say
> $m.foo;
> <p6eval> rakudo 34078: OUTPUT[Int␤]
> <masak> aha.
> * masak submits rakudobug
/me commits rakudofix (git 6663565). And untodo's the spectests relating
to this, and added some more to give us better coverage.

BTW, it wants to be :foo(5) which passes an Int - :foo<5> passes the Str
5, which then goes and fails the typecheck. But with that, it's working
as it should after the fix.

Thanks,

Jonathan

Reply via email to