roast icon indicating copy to clipboard operation
roast copied to clipboard

substitution in enum subscript is not tested

Open gfldex opened this issue 5 years ago • 0 comments

The following code works in Rakudo, is sensible but not tested.

enum E (A => "1"); 
my $v = "A";
put E::«$v»;
$v = "b";
put E::<<$v>> || "(Any)";

gfldex avatar May 24 '20 15:05 gfldex