library test /*isLegacy*/; | |
import self as self; | |
import "dart:core" as core; | |
static method test(core::List<core::num*>* nums) → void { | |
for (core::num* x in nums) { | |
if(x is{ForLegacy} core::int*) { | |
core::int* y = x{core::int*}; | |
} | |
} | |
} | |
static method main() → dynamic {} |