mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
Since only 'val' properties store initializers as compile time constants in descriptors, we need to take the initializer expression from the PSI and try to evaluate it as a constant. #KT-6661 fixed
8 lines
72 B
Kotlin
Vendored
8 lines
72 B
Kotlin
Vendored
package a
|
|
|
|
class A {
|
|
private var x: String? = null
|
|
}
|
|
|
|
// 0 PUTFIELD
|