| library test; |
| import self as self; |
| import "dart:core" as core; |
| |
| class C<E extends core::Object* = dynamic> extends core::Object { |
| synthetic constructor •() → self::C<self::C::E*>* |
| : super core::Object::•() |
| ; |
| method barA([(self::C::E*, self::C::E*) →* core::int* cmp = #C1]) → void { |
| self::foo<self::C::E*>(this, let final (self::C::E*, self::C::E*) →* core::int* #t1 = cmp in #t1 == null ?{(self::C::E*, self::C::E*) →* core::int*} #C2 : #t1); |
| } |
| method barB([(self::C::E*, self::C::E*) →* core::int* cmp = #C1]) → void { |
| self::foo<self::C::E*>(this, let final (self::C::E*, self::C::E*) →* core::int* #t2 = cmp in #t2 == null ?{(self::C::E*, self::C::E*) →* core::int*} #C2 : #t2); |
| } |
| method barC([(self::C::E*, self::C::E*) →* core::int* cmp = #C1]) → void { |
| (self::C::E*, self::C::E*) →* core::int* v = #C2; |
| self::foo<self::C::E*>(this, let final (self::C::E*, self::C::E*) →* core::int* #t3 = cmp in #t3 == null ?{(self::C::E*, self::C::E*) →* core::int*} v : #t3); |
| } |
| method barD([(self::C::E*, self::C::E*) →* core::int* cmp = #C1]) → void { |
| self::foo<self::C::E*>(this, let final (self::C::E*, self::C::E*) →* core::int* #t4 = cmp in #t4 == null ?{(self::C::E*, self::C::E*) →* core::int*} #C2 : #t4); |
| } |
| method barE([(self::C::E*, self::C::E*) →* core::int* cmp = #C1]) → void { |
| self::foo<self::C::E*>(this, cmp == null ?{(self::C::E*, self::C::E*) →* core::int*} #C2 : cmp); |
| } |
| method barF([(self::C::E*, self::C::E*) →* core::int* cmp = #C1]) → void { |
| self::foo<self::C::E*>(this, !(cmp == null) ?{(self::C::E*, self::C::E*) →* core::int*} cmp : #C2); |
| } |
| static method _default(dynamic a, dynamic b) → core::int* { |
| return 1.{core::int::unary-}(){() →* core::int*}; |
| } |
| abstract member-signature get _identityHashCode() → core::int*; -> core::Object::_identityHashCode |
| abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) → core::bool*; -> core::Object::_instanceOf |
| abstract member-signature method _simpleInstanceOf(dynamic type) → core::bool*; -> core::Object::_simpleInstanceOf |
| abstract member-signature method _simpleInstanceOfTrue(dynamic type) → core::bool*; -> core::Object::_simpleInstanceOfTrue |
| abstract member-signature method _simpleInstanceOfFalse(dynamic type) → core::bool*; -> core::Object::_simpleInstanceOfFalse |
| abstract member-signature operator ==(dynamic other) → core::bool*; -> core::Object::== |
| abstract member-signature get hashCode() → core::int*; -> core::Object::hashCode |
| abstract member-signature method toString() → core::String*; -> core::Object::toString |
| abstract member-signature method noSuchMethod(core::Invocation* invocation) → dynamic; -> core::Object::noSuchMethod |
| abstract member-signature get runtimeType() → core::Type*; -> core::Object::runtimeType |
| } |
| static method foo<E extends core::Object* = dynamic>(self::C<self::foo::E*>* c, (self::foo::E*, self::foo::E*) →* core::int* cmp) → void {} |
| static method main() → dynamic {} |
| |
| constants { |
| #C1 = null |
| #C2 = static-tearoff self::C::_default |
| } |
| |
| Extra constant evaluation status: |
| Evaluated: InstanceInvocation @ org-dartlang-testcase:///bug30624.dart:42:35 -> IntConstant(-1) |
| Extra constant evaluation: evaluated: 47, effectively constant: 1 |