blob: eed27fca95249413b2ed8230b0c7b4918bed8c32 [file] [log] [blame]
class A {
A get nonNullableProperty => this;
const A();
}
class Class {
A get nonNullableProperty => nonNullableField;
A nonNullableField = const A();
A nonNullableMethod() => nonNullableField;
void set nonNullableProperty(A value) {}
}
expect(expected, actual) {}
main() {}
throws(void Function() f) {}