blob: 1c70841ec4fc1d8948a9c8221398ebb4ee53f02e [file] [log] [blame]
library test;
//
// Problems in library:
//
// pkg/front_end/testcases/inference/for_loop_promotion.dart:5:1: Error: Library doesn't support null safety.
// // @dart=2.9
// ^^^^^^^^^^^^
//
import self as self;
import "dart:core" as core;
static method test() void {
for (core::num* x = 0; x.{core::num::<}(10){(core::num*) →* core::bool*}; x = x.{core::num::+}(1){(core::num*) →* core::num*}) {
if(x is core::int*) {
core::int* y = x{core::int*};
}
}
}
static method main() dynamic {}