Skip to content

Commit

Permalink
Fixes #2236. Expect a secondary error for CFE in syntax_A08_t03.dart (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrekhov authored Aug 25, 2023
1 parent a1918f1 commit 9103304
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LanguageFeatures/Extension-types/syntax_A08_t03.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,17 @@
// SharedOptions=--enable-experiment=inline-class

extension type ET1(int id) {
// ^^
// [cfe] unspecified
external int id;
// ^^
// [analyzer] unspecified
// [cfe] unspecified
}

extension type ET2<T>(T id) {
// ^^
// [cfe] unspecified
external final T id;
// ^^
// [analyzer] unspecified
Expand Down

0 comments on commit 9103304

Please sign in to comment.