# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #77270] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77270 >
<masak> rakudo: sub foo(--> NoSuchType) { say "OH HAI" } <p6eval> rakudo b64718: OUTPUT«===SORRY!===Unable to parse postcircumfix:sym<( )>, couldn't find final ')' [...] <masak> rakudo: class A { method foo(--> NoSuchType) { say "OH HAI" } } <p6eval> rakudo b64718: OUTPUT«===SORRY!===Malformed method at line 22, near "foo(--> No"» <masak> both these error messages could be improved to indicate the actual problem. <moritz_> agreed * masak submits rakudobug <masak> std: sub foo(--> NoSuchType) { say "OH HAI" } <p6eval> std 32024: OUTPUT«[31m===[0mSORRY![31m===[0mNo type found after --> [...] <masak> std: class A { method foo(--> NoSuchType) { say "OH HAI" } } <p6eval> std 32024: OUTPUT«[31m===[0mSORRY![31m===[0mNo type found after --> [...] <masak> 'No type found' isn't spot on either, but it's much better.