nushell/crates/nu-cmd-lang/src
Ian Manske c9c93f5b4d
Remove Value::MatchPattern (#11356)
# Description
`Value::MatchPattern` implies that `MatchPattern`s are first-class
values. This PR removes this case, and commands must now instead use
`Expr::MatchPattern` to extract `MatchPattern`s just like how the
`match` command does using `Expr::MatchBlock`.

# User-Facing Changes
Breaking API change for `nu_protocol` crate.
2023-12-18 07:25:34 +13:00
..
core_commands Remove Value::MatchPattern (#11356) 2023-12-18 07:25:34 +13:00
default_context.rs remove def-env and export def-env (#10999) 2023-11-19 23:25:09 +08:00
example_support.rs Remove Value::MatchPattern (#11356) 2023-12-18 07:25:34 +13:00
example_test.rs remove def-env and export def-env (#10999) 2023-11-19 23:25:09 +08:00
lib.rs cratification: Example support (#8231) 2023-02-27 13:58:56 -08:00