078d407f40
This adds a new expectation test suite which mimics the modular compilation strategy used by dartdevc; the test code is fully compiled but the linked dependencies are only compiled as outlines. Change-Id: I4b8a68087997c025eb39aec414ee1706ddf7f847 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/222762 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
29 lines
1.7 KiB
Plaintext
29 lines
1.7 KiB
Plaintext
library test;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
class C extends core::Object {
|
|
constructor expressionOnly() → self::C*
|
|
: assert(self::f<core::bool*>()), super core::Object::•()
|
|
;
|
|
constructor expressionAndMessage() → self::C*
|
|
: assert(self::f<core::bool*>(), self::f<dynamic>()), 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 main() → dynamic {
|
|
assert(self::f<core::bool*>());
|
|
assert(self::f<core::bool*>(), self::f<dynamic>());
|
|
}
|