[LC] Fix invalid nullability for properties

Fixed #KT-46097 and #KT-41671
This commit is contained in:
Igor Yakovlev
2021-04-15 18:55:53 +02:00
parent 8071a1e246
commit 63160293fb
4 changed files with 14 additions and 4 deletions
@@ -101,3 +101,9 @@ interface A {
public get
internal set
}
class Foo {
val foo get() = getMeNonNullFoo()
val foo2: Foo get() = getMeNonNullFoo()
fun getMeNonNullFoo() : Foo = Foo()
}