Fix example
This commit is contained in:
parent
138765d6b0
commit
c33a21734e
|
@ -32,7 +32,7 @@ specific case where a negative length is tested and the location wasn't already
|
|||
|
||||
```cs
|
||||
x is { Length: -1 } // Warning, not subsumbed by any previous case
|
||||
x is { Length: >0 } // Considered Exhaustive
|
||||
x is { Length: >=0 } // Considered Exhaustive
|
||||
x is { Length: <5 or -1 } // Error on the -1, subsumed by <5. No warning on the <5.
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue