2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-18 23:18:40 +00:00
nushell/crates/nu-command/tests
Hudson Clark 78b4472b32
Support pattern matching null literals ()
# Description
Support pattern matching against the `null` literal.  Fixes  

### Before
```nushell
> match null { null => "success", _ => "failure" }
failure
```

### After
```nushell
> match null { null => "success", _ => "failure" }
success
```

# User-Facing Changes
<!-- List of all changes that impact the user experience here. This
helps us keep track of breaking changes. -->
Users can pattern match against a `null` literal.
2023-10-25 06:30:45 +08:00
..
commands Support pattern matching null literals () 2023-10-25 06:30:45 +08:00
format_conversions fix: Ensure consistent vals and cols when parsing with --flexible () 2023-10-24 15:54:26 -05:00
main.rs Rename misused "deprecation" to removal () 2023-08-15 07:17:31 +12:00