mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 10:36:00 +02:00
Split blocks and closures (#7075)
* Split closures and blocks * Tests mostly working * finish last fixes, passes all tests * fmt
This commit is contained in:
@ -937,7 +937,7 @@ mod input_types {
|
||||
.required("cond", SyntaxShape::Expression, "condition to check")
|
||||
.required(
|
||||
"then_block",
|
||||
SyntaxShape::Block(Some(vec![])),
|
||||
SyntaxShape::Block,
|
||||
"block to run if check succeeds",
|
||||
)
|
||||
.optional(
|
||||
|
Reference in New Issue
Block a user