On Thu May 27 10:52:50 2010, masak wrote: > <masak> rakudo: class A { has @.contents handles <elems> }; say > A.new(:contents(1, 2, 3)).elems > <p6eval> rakudo e40ee4: OUTPUT«1» > * masak submits rakudobug > <jnthn> masak: handles nyi > <masak> it used to be i :( > <masak> hm, perhaps an example with a method not already in Any would > be better... :) > <masak> rakudo: class A { has $str handles <uc> }; say A.new.uc > <p6eval> rakudo e40ee4: OUTPUT«Method 'uc' not found for invocant of > class 'A' [...]
Now: > class A { has @.contents handles <elems> }; > say A.new(:contents(1, 2, 3)).elems 3 And: > class A { has $str handles <uc> }; say A.new(str => "lol").uc LOL Plus we pass all the other cases alpha did for handles now, and the tests are turned on, so resolving ticket. Jonathan