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

Owner: Nobody
Requestors: moritz <moritz.lenz+perl [at]>

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

Subject: Declaring a class with the name of the first part of a multi-joined name makes the multi-joined name unavailable
Date: Sun, 08 Jul 2012 13:35:14 +0200
To: rakudobug [...]
From: Moritz Lenz <moritz [...]>
Download (untitled) / with headers
text/plain 465b
13:29 < moritz> r: my class A::B { }; my class A { method x { say A::B } }; A.x 13:29 <+p6eval> rakudo 3e0008: OUTPUT«Could not find symbol 'A::&B'␤ in method x at /tmp/OvsGZroBwS:1␤ in block <anon> at /tmp/OvsGZroBwS:1␤␤» 13:30 < jnthn> That should probably work. Though I suspect the workaround is... 13:31 < jnthn> r: my class A { ... }; my class A::B { }; my class A { method x { say A::B } }; A.x 13:31 <+p6eval> rakudo 3e0008: OUTPUT«A::B()␤»

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