# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #100474] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=100474 >
<moritz> nom: role A { has $.x }; say A("foo").x <p6eval> nom fb4845: OUTPUT«Could not find sub &A [...] <moritz> jnthn: that form is missing in nom, and used quite a bit in the traits tests <masak> moritz: "that form"? you mean there's wording in the spec allowing explicitly for calling a constructor with one positional argument if the class only has one public attribute? <moritz> masak: s/class/role/ <masak> moritz: oh, right. <masak> for some reason, I buy that much more easily. * masak submits rakudobug