Closed
Description
This issue was originally filed by [email protected]
dartc fails co19 test
Language/10_Expressions/15_Getter_Invocation_A07_t07.dart
class C {
static get setter() {}
}
main() {
try {
C.setter = 1;
} catch(var e) {}
}
The invocation of C.setter is not valid because there is no setter. For assignment of C.v 10.16 says it is a compile-time error if C does not declare implicitly or explicitly a setter v.
Metadata
Metadata
Assignees
Labels
No labels