dd264cff50
In this commit we have a lot of change in test data. This was caused by the way where we evaluate constants. We split constant evaluation into two distinct parts: only necessary evaluations for `fir2ir` (like const val and annotations) and optimizations for lowering. Now we don't do all constant evaluation on `fir2ir`, but IR dump is executed after this phase, so test data changed. #KT-58923
19 lines
352 B
Kotlin
Vendored
19 lines
352 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// FILE: Definitions.kt
|
|
// IR_FILE: kt29833.txt
|
|
package interop
|
|
|
|
object Definitions {
|
|
const val KT_CONSTANT = Interface.CONSTANT
|
|
|
|
val ktValue = Interface.CONSTANT
|
|
}
|
|
|
|
// FILE: interop/Interface.java
|
|
package interop;
|
|
|
|
class Interface {
|
|
public static final String CONSTANT = "constant";
|
|
public CharSequence chars;
|
|
}
|