You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
git log --pretty=oneline 737f055d0a1cfb348178dbde6bd13f06704bf6d4..f87c05da8cd049efa26891f1e6927dcfe30777f2
f87c05da8cd049efa26891f1e6927dcfe30777f2 (HEAD -> master, origin/master, origin/HEAD) Always normalize paths before they are passed to the analyzer (#2409)
58bd44b5a46f27eae80cb2ec79af2b3f55faf291 hide mark option from outdated (#2403)
395f644e44c5d7d432623fb1ea74948bf05889db Fix pub outdated help messages consistency (#2408)
1b558f251b9b1d990015260ff9819160956c8093 Use different language version API. (#2400)
a9fdf9ff61f01507bbc9bcecc075f11dc09c13b9 Output a summary when there are newer version, but they cannot resolv… (#2387)
e0e396bf2aadbe21be5174784c6f37de87d34493 Outdated fix messages (#2401)
Change-Id: Icf5a6b8ec9ae50148689cac7bfe5fca33043a70a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/141246
Reviewed-by: Jonas Jensen <[email protected]>
Commit-Queue: Kevin Moore <[email protected]>
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.
The text was updated successfully, but these errors were encountered: