Skip Menu |
Report information
Id: 127242
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: [LTA ERROR] No space between a class traight and {
Download (untitled) / with headers
text/plain 880b
This produces a confusing error: <ZoffixW> m: class Foo is Int{} <camelia> rakudo-moar 42a583: OUTPUT«===SORRY!=== Error while compiling /tmp/poMXu0zSBD␤Cannot 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 block␤at /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:

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at