Files
kotlin/compiler/testData/codegen/bytecodeText/redundantInitializer.kt
Alexander Udalov ce7d8a6874 JVM IR: replace unnecessary property accessor calls with field access
Split the ConstAndJvmFieldPropertiesLowering into two: ConstLowering
which replaces const vals with their values, and
PropertiesToFieldsLowering which removes unnecessary property accessors
(such as for JvmField or private properties with default accessors) and
replaces calls to those accessors with field access
2019-02-07 23:32:32 +01:00

8 lines
72 B
Kotlin
Vendored

package a
class A {
private var x: String? = null
}
// 0 PUTFIELD