blob: 793b217b77f8630f26564abdda209eff5fb4be95 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
abstract class B extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
abstract method foo() void;
}
abstract class C extends self::B {
synthetic constructor •() void
: super self::B::•()
;
abstract method bar() void;
}
static method f<T extends self::B = dynamic>(self::f::T a) void {
if(a is core::String) {
a.foo();
}
if(a is self::C) {
a{self::f::T extends self::C}.bar();
}
}
static method main() dynamic {}