nushell/crates/nu-parser/src
Wind a432bf94ec
support SyntaxShape::OneOf in named args (#13553)
# Description
Fixes: #13253

The issue is because nushell use `parse_value` to parse named args, but
`parse_value` doesn't parse `OneOf` syntax shape.

# User-Facing Changes
`OneOf` in named args should works again.

# Tests + Formatting
I think it's hard to add a test, because nushell doesn't support `oneof`
syntax in custom command yet.

# After Submitting
NaN
2024-08-13 06:50:12 +08:00
..
deparse.rs update deps calamine and quick-xml (#11582) 2024-01-19 12:23:51 -06:00
exportable.rs Restructure nu-protocol in more meaningful units (#11917) 2024-03-10 18:45:45 +01:00
flatten.rs Make parsing for unknown args in known externals like normal external calls (#13414) 2024-07-21 01:32:36 -07:00
known_external.rs Internal representation (IR) compiler and evaluator (#13330) 2024-07-10 17:33:59 -07:00
lex.rs Make assignment and const consistent with let/mut (#13385) 2024-07-30 18:55:22 -05:00
lib.rs Add top-level crate documentation/READMEs (#12907) 2024-07-14 10:10:41 +02:00
lite_parser.rs Make assignment and const consistent with let/mut (#13385) 2024-07-30 18:55:22 -05:00
parse_keywords.rs Contentious clippy fixes (#13498) 2024-08-01 11:02:55 +02:00
parse_patterns.rs Internal representation (IR) compiler and evaluator (#13330) 2024-07-10 17:33:59 -07:00
parse_shape_specs.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
parser.rs support SyntaxShape::OneOf in named args (#13553) 2024-08-13 06:50:12 +08:00
type_check.rs Mention the actual output type on an OutputMismatch error (#13355) 2024-07-12 11:45:53 +02:00