blob: 0a737f263c8ef0d8047c94817decc728f74a78fe [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class C<T extends core::num = core::num> extends core::Object {
generic-covariant-impl field self::C::T a = null;
synthetic constructor •() self::C<self::C::T>
: super core::Object::•()
;
method op(generic-covariant-impl self::C::T b) void {
self::C::T r1 = this.{self::C::a}.{core::num::+}(b) as{TypeError} self::C::T;
self::C::T r2 = this.{self::C::a}.{core::num::-}(b) as{TypeError} self::C::T;
self::C::T r3 = this.{self::C::a}.{core::num::*}(b) as{TypeError} self::C::T;
}
method opEq(generic-covariant-impl self::C::T b) void {
this.{self::C::a} = this.{self::C::a}.{core::num::+}(b) as{TypeError} self::C::T;
this.{self::C::a} = this.{self::C::a}.{core::num::-}(b) as{TypeError} self::C::T;
this.{self::C::a} = this.{self::C::a}.{core::num::*}(b) as{TypeError} self::C::T;
}
}
static method main() dynamic {}