dart-lang / dart-lang/language
Specify grammar rules around `?[`
Open
specification
- Dominant language
- TeX
- Stars
- 2.9k
- Forks
- 239
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 14
Description
Cf. decision to use `e?[e]` to denote null-aware index lookup, and disambiguate by enforcing that a successful parse of a conditional expression prevents parsing a map entry.
[Edit: We do not commit to having null-aware function calls at this point. Deleted the parts about that.]
Contributor guide
Research direction
Start by reviewing the issue's decision about using `e?[e]` for null-aware index lookup and the conditional-expression/map-entry parsing interaction. Define the grammar rules and disambiguation behavior, while treating null-aware function calls as out of scope; no files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100