1
0
mirror of https://github.com/nushell/nushell.git synced 2025-06-22 19:02:12 +02:00
Ian Manske c9c93f5b4d
Remove Value::MatchPattern ()
# 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
..