| library test; | |
| // | |
| // Problems in library: | |
| // | |
| // pkg/front_end/testcases/inference/block_bodied_lambdas_void_context.dart:5:1: Error: Library doesn't support null safety. | |
| // // @dart=2.9 | |
| // ^^^^^^^^^^^^ | |
| // | |
| import self as self; | |
| import "dart:core" as core; | |
| static method f() → dynamic { | |
| core::List<core::int*>* o; | |
| o.{core::Iterable::forEach}((core::int* i) → core::int* { | |
| return i.{core::num::+}(1){(core::num*) →* core::int*}; | |
| }){((core::int*) →* void) →* void}; | |
| } | |
| static method main() → dynamic {} |