diff --git a/compiler/frontend/src/org/jetbrains/kotlin/cfg/pseudocode/instructions/eval/accessInstructions.kt b/compiler/frontend/src/org/jetbrains/kotlin/cfg/pseudocode/instructions/eval/accessInstructions.kt index fe8d1c2422f..83cbede765f 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/cfg/pseudocode/instructions/eval/accessInstructions.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/cfg/pseudocode/instructions/eval/accessInstructions.kt @@ -99,7 +99,7 @@ public class WriteValueInstruction( public val rValue: PseudoValue ) : AccessValueInstruction(assignment, lexicalScope, target, receiverValues) { override val inputValues: List - get() = receiverValues.keySet() + rValue + get() = (receiverValues.keySet() as Collection) + rValue override fun accept(visitor: InstructionVisitor) { visitor.visitWriteValue(this) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/cfg/pseudocode/instructions/eval/operationInstructions.kt b/compiler/frontend/src/org/jetbrains/kotlin/cfg/pseudocode/instructions/eval/operationInstructions.kt index 2daa3ef0394..436d43f16b9 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/cfg/pseudocode/instructions/eval/operationInstructions.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/cfg/pseudocode/instructions/eval/operationInstructions.kt @@ -59,7 +59,7 @@ public class CallInstruction private constructor( val resolvedCall: ResolvedCall<*>, override val receiverValues: Map, public val arguments: Map -) : OperationInstruction(element, lexicalScope, receiverValues.keySet() + arguments.keySet()), InstructionWithReceivers { +) : OperationInstruction(element, lexicalScope, (receiverValues.keySet() as Collection) + arguments.keySet()), InstructionWithReceivers { public constructor ( element: JetElement, lexicalScope: LexicalScope,