mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
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
8 lines
72 B
Kotlin
Vendored
8 lines
72 B
Kotlin
Vendored
package a
|
|
|
|
class A {
|
|
private var x: String? = null
|
|
}
|
|
|
|
// 0 PUTFIELD
|