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