timo / json_fast

a naive imperative json parser in perl6, to evaluate performance against JSON::Tiny
Artistic License 2.0
26 stars 20 forks source link

Fix precedende bug in Unicode escaping decode #63

Closed Altai-man closed 4 years ago

Altai-man commented 4 years ago

Without parentheses it is executed like my $lastchar = $char ne @caps.tail, which might be True and @caps.push(True) will lead to an exception, even though the escape string is totally valid.