MiSawa / xq

Pure rust implementation of jq
MIT License
333 stars 18 forks source link

Indexing with keywords fail #51

Closed MiSawa closed 2 years ago

MiSawa commented 2 years ago
$ jq -n '.true'
null
$ mold --run cargo +nightly run -- -n '.true'
    Finished dev [unoptimized + debuginfo] target(s) in 0.08s
     Running `target/debug/xq -n .true`
Error: compile query

Caused by:
    ParseError(Error { input: "true", code: Eof })
[2]    513057 exit 1     mold --run cargo +nightly run -- -n '.true'
MiSawa commented 2 years ago

Fixed in #52