mirror of
https://github.com/nushell/nushell.git
synced 2025-05-19 01:10:48 +02:00
# Description This PR makes `match` no longer run closures as if they were blocks. This also allows returning closures from `match` without needing to wrap in an outer subexpression or block. Before PR: ```nushell match 1 { _ => {|| print hi} } # => hi ``` After PR: ```nushell match 1 { _ => {|| print hi} } # => closure_1090 ``` # User-Facing Changes * `match` no longer runs closures as if they were blocks # Tests + Formatting N/A # After Submitting N/A |
||
---|---|---|
.. | ||
builder.rs | ||
call.rs | ||
expression.rs | ||
keyword.rs | ||
mod.rs | ||
operator.rs | ||
redirect.rs |