Closed toth-istvan-zoltan closed 3 weeks ago
This results in a compilation error, most probably missing from StateAccessTransform.
StateAccessTransform
Test case: box\foundation\variables\inline.kt
box\foundation\variables\inline.kt
T1(instructions.firstOrNullIfInstance<Test>()?.i ?: 999)
WARN: Attempt to load key 'psi.incremental.reparse.depth.limit' for not yet loaded registry Declarations with wrong parent: 2 declaration: VAR IR_TEMPORARY_VARIABLE name:<elvis> type:kotlin.Int? [val] org.jetbrains.kotlin.ir.declarations.impl.IrVariableImpl@5f3ec954 expectedParent: FUN FAKE_OVERRIDE name:genPatchDescendant visibility:public modality:OPEN <> ($this:hu.simplexion.adaptive.foundation.AdaptiveFragment, fragment:hu.simplexion.adaptive.foundation.AdaptiveFragment) returnType:kotlin.Unit actualParent: FUN name:tc visibility:public modality:FINAL <> (instructions:kotlin.Array<out hu.simplexion.adaptive.foundation.instruction.AdaptiveInstruction>) returnType:kotlin.Unit declaration: VAR IR_TEMPORARY_VARIABLE name:tmp0_safe_receiver type:hu.simplexion.adaptive.kotlin.base.success.Test? [val] org.jetbrains.kotlin.ir.declarations.impl.IrVariableImpl@5d8193e7 expectedParent: FUN FAKE_OVERRIDE name:genPatchDescendant visibility:public modality:OPEN <> ($this:hu.simplexion.adaptive.foundation.AdaptiveFragment, fragment:hu.simplexion.adaptive.foundation.AdaptiveFragment) returnType:kotlin.Unit actualParent: FUN name:tc visibility:public modality:FINAL <> (instructions:kotlin.Array<out hu.simplexion.adaptive.foundation.instruction.AdaptiveInstruction>) returnType:kotlin.Unit
This results in a compilation error, most probably missing from
StateAccessTransform
.Test case:
box\foundation\variables\inline.kt