blob: 98d67c0af9d842b0e6df8fa54c79704ca78b128b [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
typedef F<T extends core::Object* = dynamic> = (T*) →* void;
class C<T extends core::Object* = dynamic> extends core::Object {
field (self::C::T*) →* void y = null;
synthetic constructor •() self::C<self::C::T*>*
: super core::Object::•()
;
method f(generic-covariant-impl self::C::T* value) void {
this.{self::C::y}(value);
}
}
static method g(self::C<core::num*>* c) void {
(c.{self::C::y} as{TypeError} (core::num*) →* void).call(1.5);
}
static method main() void {}