blob: 0f7d6a1c7b6d316c0d9e3bcf45b6471a4693a79e [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
import "nsm_getter_setter_lib.dart" as nsm;
import "org-dartlang-testcase:///nsm_getter_setter_lib.dart";
class B extends core::Object implements nsm::A {
synthetic constructor •() self::B*
: super core::Object::•()
;
@#C1
method noSuchMethod(core::Invocation* invocation) dynamic
return null;
no-such-method-forwarder get /* from org-dartlang-testcase:///nsm_getter_setter_lib.dart */ field() core::int*
return this.{self::B::noSuchMethod}(new core::_InvocationMirror::_withType(#C2, 1, #C3, #C4, core::Map::unmodifiable<core::Symbol*, dynamic>(#C5))) as{TypeError,ForDynamic} core::int*;
no-such-method-forwarder set /* from org-dartlang-testcase:///nsm_getter_setter_lib.dart */ field(core::int* value) void
return this.{self::B::noSuchMethod}(new core::_InvocationMirror::_withType(#C6, 2, #C3, core::List::unmodifiable<dynamic>(<dynamic>[value]), core::Map::unmodifiable<core::Symbol*, dynamic>(#C5)));
no-such-method-forwarder get /* from org-dartlang-testcase:///nsm_getter_setter_lib.dart */ property() core::int*
return this.{self::B::noSuchMethod}(new core::_InvocationMirror::_withType(#C7, 1, #C3, #C4, core::Map::unmodifiable<core::Symbol*, dynamic>(#C5))) as{TypeError,ForDynamic} core::int*;
no-such-method-forwarder set /* from org-dartlang-testcase:///nsm_getter_setter_lib.dart */ property(core::int* i) void
return this.{self::B::noSuchMethod}(new core::_InvocationMirror::_withType(#C8, 2, #C3, core::List::unmodifiable<dynamic>(<dynamic>[i]), core::Map::unmodifiable<core::Symbol*, dynamic>(#C5)));
abstract member-signature get /* from org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart */ _identityHashCode() core::int*; -> core::Object::_identityHashCode
abstract member-signature method /* from org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart */ _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) core::bool*; -> core::Object::_instanceOf
abstract member-signature method /* from org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart */ _simpleInstanceOf(dynamic type) core::bool*; -> core::Object::_simpleInstanceOf
abstract member-signature method /* from org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart */ _simpleInstanceOfTrue(dynamic type) core::bool*; -> core::Object::_simpleInstanceOfTrue
abstract member-signature method /* from org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart */ _simpleInstanceOfFalse(dynamic type) core::bool*; -> core::Object::_simpleInstanceOfFalse
abstract member-signature operator /* from org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart */ ==(dynamic other) core::bool*; -> core::Object::==
abstract member-signature get /* from org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart */ hashCode() core::int*; -> core::Object::hashCode
abstract member-signature method /* from org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart */ toString() core::String*; -> core::Object::toString
abstract member-signature get /* from org-dartlang-sdk:///sdk/lib/_internal/vm/lib/object_patch.dart */ runtimeType() core::Type*; -> core::Object::runtimeType
no-such-method-forwarder get /* from org-dartlang-testcase:///nsm_getter_setter_lib.dart */ getter() core::int*
return this.{self::B::noSuchMethod}(new core::_InvocationMirror::_withType(#C9, 1, #C3, #C4, core::Map::unmodifiable<core::Symbol*, dynamic>(#C5))) as{TypeError,ForDynamic} core::int*;
no-such-method-forwarder set /* from org-dartlang-testcase:///nsm_getter_setter_lib.dart */ setter(core::int* i) void
return this.{self::B::noSuchMethod}(new core::_InvocationMirror::_withType(#C10, 2, #C3, core::List::unmodifiable<dynamic>(<dynamic>[i]), core::Map::unmodifiable<core::Symbol*, dynamic>(#C5)));
}
static method main() dynamic {}
library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/nnbd_mixed/nsm_getter_setter_lib.dart:8:7: Error: Field 'field' should be initialized because its type 'int' doesn't allow null.
// int field;
// ^^^^^
//
import self as nsm;
import "dart:core" as core;
class A extends core::Object {
field core::int field = null;
synthetic constructor •() nsm::A
: super core::Object::•()
;
get getter() core::int
return 42;
set setter(core::int i) void {}
get property() core::int
return 42;
set property(core::int i) void {}
}
constants {
#C1 = core::_Override {}
#C2 = #field
#C3 = <core::Type*>[]
#C4 = <dynamic>[]
#C5 = core::_ImmutableMap<core::Symbol*, dynamic> {_kvPairs:#C4}
#C6 = #field=
#C7 = #property
#C8 = #property=
#C9 = #getter
#C10 = #setter=
}