-
Notifications
You must be signed in to change notification settings - Fork 224
Closed
Labels
featureProposed language feature that solves one or more problemsProposed language feature that solves one or more problemsnnbdNNBD related issuesNNBD related issues
Description
This is a solution proposal for #71. The proposal covers the intended final language design, and the language, tooling, and ecosystem support required for the migration.
Topic specific discussion issues for resolution:
- Throw/catch static errors
- Null assertion operator
- Resolved, yes,
!
.
- Resolved, yes,
- Should the NNBD opt in also remove implicit casts
- Resolved, yes
- Is
Object
nullable?- Resolved, no
- Do we need
T!
?- Resolved, no
- Do we need generic constraints?
- Resolved, no
- Grammar issues
- Fields initialized after creation
- Resolved, we will use
late
- Resolved, we will use
- Chaining null-aware operators
- Resolved, yes.
- Default parameter values
- Can object methods be called on nullable types
- Resolved, yes.
- Precedence of
await
vs!
- Resolved,
!
binds more tightly.
- Resolved,
- Querying the state of
late
variables - Null short-circuiting spread operator
zoechi, jmesserly, munificent, Cat-sushi, wm3 and 417 morem-a-moradi, vladlaba and solid-vovabelodedJulianBissekkou, minheq, HerrNiklasRaab, kato1628, KlausJokisuo and 14 moremockturtl, yjbanov, kasperpeulen, mnordine, redbrogdon and 103 morelucamtudor, tenhobi, sureshg, pulyaevskiy, zoechi and 111 moreDanTup, HerrNiklasRaab, jsa-nic, gogovan-kktsang, saibotma and 61 moreDanTup, rrousselGit, HerrNiklasRaab, jsa-nic, saibotma and 42 more
Metadata
Metadata
Assignees
Labels
featureProposed language feature that solves one or more problemsProposed language feature that solves one or more problemsnnbdNNBD related issuesNNBD related issues
Type
Projects
Status
Done