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

Owner: Nobody
Requestors: gfldex <wenzel.peppmeyer [at]>

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

Subject: $?ROLE not available in default argument
Date: Sun, 25 Dec 2016 14:16:57 +0100 (CET)
To: rakudobug [...]
From: "Wenzel P. P. Peppmeyer" <wenzel.peppmeyer [...]>
Download (untitled) / with headers
text/plain 247b
role R[$p = fail("no argument to $?ROLE")] {}; my $i = 1 does R; # OUTPUT«===SORRY!=== Error while compiling <tmp>␤Variable '$?ROLE' is not declared␤at <tmp>:1␤------> role R[$p = fail("no argument to ⏏$?ROLE")] {}; my $i = 1 does R;␤»

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