Thanks for the report. The issue has now been fixed in https://github.com/rakudo/rakudo/commit/77d9d41fc4
(Tests added in the same commit).
Thanks for the report. The issue has now been fixed in https://github.com/rakudo/rakudo/commit/77d9d41fc4
(Tests added in the same commit).