Skip to content

Commit

Permalink
workarounds for a rakudo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Oct 22, 2010
1 parent 534c6b6 commit a1351a4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/JSON/Tiny/Actions.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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($/) {
Expand Down

0 comments on commit a1351a4

Please sign in to comment.