We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 897491e commit 29c7947Copy full SHA for 29c7947
LanguageFeatures/nnbd/weak/const_evaluation_A06_t01.dart
@@ -11,19 +11,15 @@
11
12
// Requirements=nnbd-weak
13
14
+import "../../../Utils/expect.dart";
15
import '../const_evaluation_lib.dart';
16
import 'const_evaluation_legacy_lib.dart';
17
18
const dynamic d = null;
19
20
main() {
21
const c1 = C.t(null, cLegacyInt);
-// ^^^^^^^^^^^^^^^^^^^^^
22
-// [analyzer] unspecified
23
-// [cfe] unspecified
24
-
25
const c2 = C.t(d, cLegacyInt);
26
-// ^^^^^^^^^^^^^^^^^^
27
28
+ Expect.isNull(c1.x);
+ Expect.isNull(c2.x);
29
}
0 commit comments