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