library; import self as self; import "dart:core" as core; extension A on core::List* { method myMap = self::A|myMap; tearoff myMap = self::A|get#myMap; } static final field core::List* list = self::A|myMap(["a", "b", "c"], (core::String* it) → core::String* => it); static method A|myMap(lowered final core::List* #this, (self::A|myMap::T*) →* self::A|myMap::R* block) → core::List* { return #this.{core::Iterable::map}(block).{core::Iterable::toList}(); } static method A|get#myMap(lowered final core::List* #this) → ((self::A|get#myMap::T*) →* R*) →* core::List* return ((self::A|get#myMap::T*) →* R* block) → core::List* => self::A|myMap(#this, block); static method main() → dynamic { core::print(self::list); }