# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #125935]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=125935 >


<masak> m: role R[::N, $result = N] { say $result }; my $r = R[Int].new
<camelia> rakudo-moar 5fb81f: OUTPUT«Cannot find method 'collisions' [...]
* masak submits rakudobug

Change 'say $result' to 'say N', and it works.

Change '$result = N' to '$result = 4', and it works.

Reply via email to