// "Create member property 'A.foo'" "true" // ERROR: Property must be initialized or be abstract class A(val n: T) { val foo: A } fun A.test(): A { return this.foo }