Permalink
Browse files

workarounds for a rakudo bug

  • Loading branch information...
1 parent 534c6b6 commit a1351a41f1a0245e13912c61f061f47eeb27044d @moritz committed Oct 21, 2010
Showing with 5 additions and 2 deletions.
  1. +5 −2 lib/JSON/Tiny/Actions.pm
@@ -4,11 +4,14 @@ method TOP($/) {
make $/.values.[0].ast;
};
method object($/) {
- make $<pairlist>.ast.hash ;
+ # RAKUDO
+ # the .item works around RT #78510
+ make $<pairlist>.ast.hash.item ;
}
method pairlist($/) {
- make $<pair>>>.ast.flat;
+ # the .item works around RT #78510
+ make $<pair>>>.ast.flat.item;
}
method pair($/) {

0 comments on commit a1351a4

Please sign in to comment.