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

Owner: Nobody
Requestors: gfldex <wenzel.peppmeyer [at] gmx.de>
Cc:
AdminCc:

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



Subject: qualified names in enum keys neither produce error nor work
To: rakudobug [...] perl.org
From: "Wenzel P. P. Peppmeyer" <wenzel.peppmeyer [...] gmx.de>
Date: Mon, 29 Aug 2016 17:59:20 +0200 (CEST)
Download (untitled) / with headers
text/plain 356b
enum Collision(<Coll::Str Coll::Int>); my Collision $c; dd $c.WHAT.enums; $c = Coll::Str; # OUTPUT«Map.new(("Coll::Int" => 1,"Coll::Str" => 0))␤Could not fin symbol '&Str'␤ in block <unit> at <tmp> line 1␤␤AActually thrown ain block <unit> at <tmp> line 1␤␤» # It should either produce an error when the enum is declared or just # work.


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

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