Skip to content

Commit 5a9d077

Browse files
committed
Fixes dart-lang#2390. Add expected error to static_analysis_extension_types_A30_t02.dart
1 parent 85c868a commit 5a9d077

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

LanguageFeatures/Extension-types/static_analysis_extension_types_A30_t02.dart

+4-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ extension type ET1(int id) {
3030
}
3131

3232
extension type ET2(int id) implements I {
33-
int get x => 42; // no error, the getter precludes the setter
33+
int get x => 42;
34+
// ^
35+
// [analyzer] unspecified
36+
// [cfe] unspecified
3437
}
3538

3639
main() {

0 commit comments

Comments
 (0)