mirror of
https://github.com/nushell/nushell
synced 2024-11-15 01:17:07 +00:00
1f06f8405c
- fixes #10083 # Description nushell crashes in the following 2 condition: - `let a = {}` , then delete `{` - `let a = | {}`, then delete `{` When delete `{` the pipeline becomes empty but current `nu-parser` assume they are non-empty. This pr adds extra empty check to avoid crash. Co-authored-by: Horasal <horsal@horsal.dev> |
||
---|---|---|
.. | ||
test_lex.rs | ||
test_parser.rs | ||
test_parser_unicode_escapes.rs |