# New Ticket Created by Justin DeVuyst # Please include the string: [perl #126714] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=126714 >
[jdv@wieldy ~]$ perl6 -e 'role R {has Any $.a};R.new.a.say' # as expected (Any) [jdv@wieldy ~]$ perl6 -e 'role R[::T = Any] {has T $.a};R.new.a.say' # not expected Method 'say' not found for invocant of class 'T' in block <unit> at -e:1 [jdv@wieldy ~]$ perl6 -e 'role R[::T = Any] {has T $.a = T};R.new.a.say' # huh (Any) [jdv@wieldy ~]$