dart-lang / dart-lang/language
Specify member type derivation with promoted type variables
Open
specification
- Dominant language
- TeX
- Stars
- 2.9k
- Forks
- 239
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 14
Description
Given that `X & S` can be the type of a receiver `e` in an expression that accesses a member (say, `e.m = 17` or `e.m(42)`), we need to decide on how to determine whether that member exists and which type it has. This should be handled in the specification of the static type of each of the relevant syntactic forms.
Contributor guide
Assessment
This issue has not been assessed yet.