blob: 2829fae9e6c0d15c997c6a40e94f030b6c0f4c0e [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
import "dart:_internal" as _in;
class A extends core::Object {
field core::int? _#A#x = null;
constructor foo(core::int x) self::A
: self::A::_#A#x = x, super core::Object::•()
;
constructor bar() self::A
: super core::Object::•()
;
get x() core::int
return let final core::int? #t1 = this.{self::A::_#A#x} in #t1.==(null) ?{core::int} throw new _in::LateInitializationErrorImpl::•("Field 'x' has not been initialized.") : #t1{core::int};
set x(core::int #t2) → void
this.{self::A::_#A#x} = #t2;
}
static method main() dynamic {}