IrConstTransformer: transform constants also inside call children
This commit is contained in:
@@ -55,5 +55,10 @@ fun box(): String {
|
||||
Some()
|
||||
Other()
|
||||
Another()
|
||||
run {
|
||||
@State(name = "A", storages = [(Storage(value = StoragePathMacros.NON_ROAMABLE_FILE))])
|
||||
class Local
|
||||
Local()
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// !LANGUAGE: -InlineConstVals
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FIR status: don't support legacy feature
|
||||
|
||||
const val z = 0
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// !LANGUAGE: -InlineConstVals
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FIR status: don't support legacy feature
|
||||
|
||||
const val one = 1
|
||||
const val two = 2
|
||||
|
||||
+2
@@ -1,4 +1,6 @@
|
||||
// !LANGUAGE: -InlineConstVals
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FIR status: don't support legacy feature
|
||||
|
||||
const val y = "cde"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user