Skip to content

Commit b21a5f1

Browse files
committed
Fix bugs in static_extension_syntax_test.dart
Fix #37765 Change-Id: I4af67aae1b6e5fbb28371762261d20fccc90d8b7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112751 Reviewed-by: Brian Wilkerson <[email protected]>
1 parent 32e27f6 commit b21a5f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/language_2/extension_methods/static_extension_syntax_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ main() {
7171

7272
Expect.equals(0, object.e19);
7373
Expect.equals(19, recs.e19);
74-
Expect.type<RecSolution>(recs.list19);
75-
checkStaticType<RecSolution>(recs.list19);
74+
Expect.type<List<RecSolution>>(recs.list19);
75+
checkStaticType<List<RecSolution>>(recs.list19);
7676

7777
Expect.equals(0, object.e20);
7878
Expect.equals(20, recs.e20);
79-
Expect.type<RecSolution>(recs.list20);
80-
checkStaticType<RecSolution>(recs.list20);
79+
Expect.type<List<RecSolution>>(recs.list20);
80+
checkStaticType<List<RecSolution>>(recs.list20);
8181
}
8282

8383
extension on Object {

0 commit comments

Comments
 (0)