blob: 320d7e584e4f4e921afe048a07f8246df6a34f92 [file] [log] [blame]
library /*isLegacy*/;
import self as self;
import "dart:core" as core;
static method method<T extends core::Object* = dynamic>(self::method::T* o) dynamic {
if(o is{ForLegacy} core::String*) {
let final self::method::T* & core::String* /* '*' & '*' = '*' */ #t1 = o{self::method::T* & core::String* /* '*' & '*' = '*' */} in #t1 == null ?{core::int*} null : #t1.{core::String::length}{core::int*};
}
}
static method main() dynamic {
self::method<core::String*>("");
}