As far as I understand it, the problem can be golfed to the following:
$ perl6 -e 'say EnumMap.new("a", 42).perl'
EnumMap.new(:a(42))
$ perl6 -e 'say EnumMap.new("a", 42).perl.perl'
"EnumMap.new(:a(42))"
$ perl6 -e 'say EnumMap.new("a", 42).perl.EVAL'
EnumMap.new()
Additionally, there's a test that refers to on the match object,
which dies with:
This representation (Null) does not support associative access
in block at t/spec/S05-match/perl.rakudo.moar:23
That is skipped.
--
Will "Coke" Coleda
# New Ticket Created by Will Coleda
# Please include the string: [perl #125293]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125293 >
There's a failing test in S05-match/perl.t for this.
Looks like the topmost "hash" attrib