# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #122973] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=122973 >
<timotimo> ven++ found this: <timotimo> m: role A[::T] { subset Test of Int }; say A[Int]::Test; # is this the right way to write this? <camelia> rakudo-moar 8b3e8c: OUTPUT«===SORRY!=== Error while compiling /tmp/XqDHJFTQEuTwo terms in a rowat [...] say A[Int]⏏::Test <masak> m: role A[::T] { subset Test of Int }; say A::Test <camelia> rakudo-moar 8b3e8c: OUTPUT«Could not find symbol '&Test' [...] <masak> intuitively I'd expect A[Int]::Test to work. <timotimo> me, too. and ven, too * masak submits rakudobug