blob: 5c685391f064f1bf9d419cb3a736f948999820de [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) {}