# New Ticket Created by Zoffix Znet # Please include the string: [perl #127242] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=127242 >
This produces a confusing error: <ZoffixW> m: class Foo is Int{} <camelia> rakudo-moar 42a583: OUTPUT«===SORRY!=== Error while compiling /tmp/poMXu0zSBDCannot call trait_mod:<is>(Foo, Int, Hash); none of these signatures match: (Mu:U $child, Mu:U $parent) (Mu:U $child, :$DEPRECATED!) (Mu:U $type, :$rw!) (Mu:U $type, :$nativ…» Perhaps, the same thing that's done for subs can be extended for classes too: <ZoffixW> m: sub foo is export{} <camelia> rakudo-moar 42a583: OUTPUT«===SORRY!===Trait 'is export' needs whitespace before blockat /tmp/5tO_UVrVAD:1------> sub foo is export{}⏏<EOL>Missing block (apparently claimed by 'is export')at /tmp/5tO_UVrVAD:1------> sub foo is export{}⏏<EOL>…» <TimToady> maybe that's what we're thinking of Relevant IRC conversation: http://irclog.perlgeek.de/perl6/2016-01-11#i_11869850