Skip to content

Commit e22ff5f

Browse files
authored
Fixes #2061. Add expected analyzer error (#2062)
1 parent 29c7947 commit e22ff5f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

LanguageFeatures/nnbd/weak/const_evaluation_A06_t01.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ const dynamic d = null;
1919

2020
main() {
2121
const c1 = C.t(null, cLegacyInt);
22+
// ^^^^^^^^^^^^^^^^^^^^^
23+
// [analyzer] unspecified
2224
const c2 = C.t(d, cLegacyInt);
25+
// ^^^^^^^^^^^^^^^^^^
26+
// [analyzer] unspecified
27+
2328
Expect.isNull(c1.x);
2429
Expect.isNull(c2.x);
2530
}

0 commit comments

Comments
 (0)