2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-01-18 08:04:08 +00:00
nushell/tests/parsing
Jakub Žádník 4efccb2b1c
Fix parsing of signature inp/out types in predecls ()
# 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 () 2022-11-15 00:05:27 +01:00
mod.rs Fix parsing of signature inp/out types in predecls () 2023-10-08 12:58:26 +02:00