blob: 9986ad5a3828f3d8b2cb78ef4783698e7a81db0b [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class A extends core::Object {
synthetic constructor •() self::A*
: super core::Object::•()
;
}
class B extends self::A {
synthetic constructor •() self::B*
: super self::A::•()
;
operator +(self::C* v) self::A*
return null;
operator -(core::int* i) self::B*
return null;
operator *(self::B* v) self::B*
return null;
operator &(self::A* v) self::C*
return null;
}
class C extends self::B {
synthetic constructor •() self::C*
: super self::B::•()
;
}
class Test extends core::Object {
field self::B* member = null;
synthetic constructor •() self::Test*
: super core::Object::•()
;
method test() void {
this.{self::Test::member} = self::f<self::B*>();
this.{self::Test::member}.{core::Object::==}(null) ?{self::B*} this.{self::Test::member} = self::f<self::B*>() : null;
this.{self::Test::member} = this.{self::Test::member}.{self::B::+}(self::f<dynamic>() as{TypeError} self::C*) as{TypeError} self::B*;
this.{self::Test::member} = this.{self::Test::member}.{self::B::*}(self::f<dynamic>() as{TypeError} self::B*);
this.{self::Test::member} = this.{self::Test::member}.{self::B::&}(self::f<dynamic>() as{TypeError} self::A*);
this.{self::Test::member} = this.{self::Test::member}.{self::B::-}(1);
this.{self::Test::member} = this.{self::Test::member}.{self::B::-}(1);
self::B* v1 = this.{self::Test::member} = self::f<self::B*>();
self::B* v2 = let final self::B* #t1 = this.{self::Test::member} in #t1.{core::Object::==}(null) ?{self::B*} this.{self::Test::member} = self::f<self::B*>() : #t1;
self::A* v3 = this.{self::Test::member} = this.{self::Test::member}.{self::B::+}(self::f<dynamic>() as{TypeError} self::C*) as{TypeError} self::B*;
self::B* v4 = this.{self::Test::member} = this.{self::Test::member}.{self::B::*}(self::f<dynamic>() as{TypeError} self::B*);
self::C* v5 = this.{self::Test::member} = this.{self::Test::member}.{self::B::&}(self::f<dynamic>() as{TypeError} self::A*);
self::B* v6 = this.{self::Test::member} = this.{self::Test::member}.{self::B::-}(1);
self::B* v7 = let final self::B* #t2 = this.{self::Test::member} in let final self::B* #t3 = this.{self::Test::member} = #t2.{self::B::-}(1) in #t2;
}
}
static method f<T extends core::Object* = dynamic>() self::f::T*
return null;
static method main() dynamic {}