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

Owner: Nobody
Requestors: masak <cmasak [at]>

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

From: Carl Mäsak <cmasak [...]>
To: rakudobug [...]
Date: Fri, 8 Jan 2016 22:51:18 +0100
Subject: [BUG] Not getting the nice "Illegally post-declared type" error for types with :: in them in Rakudo
Download (untitled) / with headers
text/plain 561b
<masak> m: class C { has $.x = }; class D {} <camelia> rakudo-moar af8798: OUTPUT«===SORRY!=== Error while compiling /tmp/9mEQAw_f9T␤Illegally post-declared type:␤ D used at line 1␤␤» <masak> m: class C { has $.x = }; class D::E {}; <camelia> rakudo-moar af8798: OUTPUT«Could not find symbol '&E' [...] * masak submits rakudobug The second line gets through compilation and all the way to runtime, where it fails. It would be much nicer to get the same error message about illegally post-declared types as in the first line.

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