blob: 203b0cfb4cb2ffdbc03c6df77f30e27b78b6ed0d [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:test" as test;
import "dart:test";
static method main() dynamic {
test::Class::fact();
}
library /*isNonNullableByDefault*/;
import self as test;
import "dart:_js_helper" as _js;
import "dart:core" as core;
import "dart:_js_helper";
@#C1
class Class extends core::Object {
final field core::bool defaultValue /* from org-dartlang-testcase:///patch_lib.dart */;
const constructor _internal({core::bool defaultValue = #C2}) → test::Class
: test::Class::defaultValue = defaultValue, super core::Object::•()
;
@#C1
static factory /* from org-dartlang-testcase:///patch_lib.dart */ fact({core::bool defaultValue = #C3}) → test::Class
return new test::Class::_internal(defaultValue: defaultValue);
@#C1
static factory /* from org-dartlang-testcase:///patch_lib.dart */ constFact({core::bool defaultValue = #C3}) → test::Class
return throw "unsupported";
}
constants {
#C1 = _js::_Patch {}
#C2 = false
#C3 = true
}