[FIR] Don't create backing field for property without explicit type

#KT-41977 Fixed
This commit is contained in:
Dmitriy Novozhilov
2020-09-29 10:09:07 +03:00
parent 0c0a8f9849
commit fb871a55a3
8 changed files with 59 additions and 5 deletions
@@ -13,7 +13,7 @@ class A {
val z1 get() = <!INAPPLICABLE_CANDIDATE!>id<!>(z1)
val z2 get() = <!INAPPLICABLE_CANDIDATE!>l<!>(z2)
val u get() = field
val u get() = <!UNRESOLVED_REFERENCE!>field<!>
}
fun <E> id(x: E) = x