Skip to content

Commit

Permalink
workaround for the string numification bug
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed May 30, 2010
1 parent db4d7d0 commit 508ff2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/JSON/Tiny/Actions.pm
Expand Up @@ -40,7 +40,7 @@ method string($/) {
}
make $s;
}
method value:sym<number>($/) { make +$/.Str }
method value:sym<number>($/) { make eval $/.Str }
method value:sym<string>($/) { make $<string>.ast }
method value:sym<true>($/) { make Bool::True }
method value:sym<false>($/) { make Bool::False }
Expand Down

0 comments on commit 508ff2d

Please sign in to comment.