mirror of
https://github.com/nushell/nushell
synced 2024-12-26 21:13:19 +00:00
f844a3dbd8
# User-Facing Changes `def` now errors instead of silently ignoring closure blocks: ```nushell > def foo [] {|bar| } Error: nu::parser::parse_mismatch × Parse mismatch during operation. ╭─[entry #1:1:12] 1 │ def foo [] {|bar| } · ────┬─── · ╰── expected definition body { ... } ╰──── ``` |
||
---|---|---|
.. | ||
test_lex.rs | ||
test_parser.rs | ||
test_parser_unicode_escapes.rs |