nushell/tests/parsing
Jakub Žádník 4efccb2b1c
Fix parsing of signature inp/out types in predecls (#10642)
# Description
Fixes https://github.com/nushell/nushell/issues/10605 (again).

The loop looking for `[` to determine signature position didn't stop
early enough, so it thought the second `[` denoting the inp/out types
marks the beginning of the signature.

# User-Facing Changes

# Tests + Formatting
adds a new `predecl_signature_multiple_inp_out_types` test

# After Submitting
2023-10-08 12:58:26 +02:00
..
samples Change parser cwd when running a file (#7134) 2022-11-15 00:05:27 +01:00
mod.rs Fix parsing of signature inp/out types in predecls (#10642) 2023-10-08 12:58:26 +02:00