PSI2IR: generate field writes for all val property assignments

Assuming the frontend is correct, and it hopefully is, all of them are
initializations even if not done in the owner class directly.
This commit is contained in:
pyos
2019-12-19 11:15:43 +01:00
committed by Dmitry Petrov
parent 92f8432b1e
commit a4b005fd5d
4 changed files with 54 additions and 20 deletions
@@ -1,6 +1,5 @@
// !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts
// IGNORE_BACKEND: JVM_IR, JS_IR, NATIVE
// IGNORE_BACKEND_MULTI_MODULE: JVM_IR
// IGNORE_BACKEND: NATIVE
// FILE: 1.kt