blob: 6e55000f4baa937c07be1ca78b5575388ac9deb3 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class C<T extends core::Object* = dynamic> extends core::Object /*hasConstConstructor*/ {
const constructor •() self::C<self::C::T*>*
: super core::Object::•()
;
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 f<T extends core::Object* = dynamic>() self::f::T*
return null;
static method test(self::C<core::int*>* x) void {
#L1:
switch(x) {
#L2:
case #C1:
{
core::int* y = 0;
break #L1;
}
#L3:
default:
{
core::int* y = 0;
break #L1;
}
}
}
static method main() dynamic {}
constants {
#C1 = self::C<core::int*> {}
}
Constructor coverage from constants:
org-dartlang-testcase:///switch.dart:
- C. (from org-dartlang-testcase:///switch.dart:11:9)
- Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart:25:9)