01mf02 / jaq

A jq clone focussed on correctness, speed, and simplicity
MIT License
2.61k stars 63 forks source link

Correct `Default` implementation for `Owned` filters. #147

Closed 01mf02 closed 6 months ago

01mf02 commented 6 months ago

The automatically derived Default implementation for Owned was incorrect, because it pointed to a non-existing filter AST. This made jaq crash when using Owned::default, as happened when not providing any filter at all (running jaq without any arguments).

Closes #146.