library; import self as self; import "dart:core" as core; static method foo() → core::int* { core::Function* f = (dynamic x) → dynamic => x; core::List* l = ["bar"].{core::Iterable::map}(f as{TypeError} (core::String*) →* dynamic).{core::Iterable::toList}(); l.{core::List::add}(42); return l.{core::Iterable::first}.length as{TypeError,ForDynamic} core::int*; } static method main() → dynamic {}