Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in null-exclusivity rules (and a non-normative bug).
The bug: As discussed under "My implementation suggestion is this" in [this post](jspecify/jspecify-reference-checker#175 (comment)) and especially my _following_ post, the type `null` is just as null-exclusive as `String` or `Object[]`. The non-normative bug: I think I just wrote this backward? It's the "lenient" / "some-world" rules under which a type like `Foo*` can be both null-inclusive ("You can put `null` into it") and null-exclusive ("You can dereference it").
- Loading branch information