This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit 77f2603
[dartdevc] preliminary nnbd support
For analyzer backend only:
* Implements `x!`
* Uses non-null type info where possible to elide null checks.
* Does not yet reify.
No hurry on this - starting to look at what's there. Some notes:
* NNBD doesn't seem to be exposed directly on DartType yet.
* x!.y doesn't seem to parse - need to write (x!).y.
* Can't run existing tests yet - `package:expect`, etc., have NNBD errors.
Change-Id: I58c24c950d00f3a40d789d4a7adf049786977c50
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/103040
Commit-Queue: Vijay Menon <[email protected]>
Reviewed-by: Paul Berry <[email protected]>1 parent 0e5d18f commit 77f2603
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5038 | 5038 | | |
5039 | 5039 | | |
5040 | 5040 | | |
| 5041 | + | |
| 5042 | + | |
| 5043 | + | |
| 5044 | + | |
| 5045 | + | |
5041 | 5046 | | |
5042 | 5047 | | |
5043 | 5048 | | |
| |||
0 commit comments