From 7c9cf45a3fc4684c0f2734aa18ca59276e4f2f1c Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Tue, 22 Dec 2020 16:32:41 +0100 Subject: [PATCH] FIR IDE: fix testdata --- .../whenWithHeiarchy/expected.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/idea/idea-frontend-fir/idea-fir-low-level-api/testdata/multiModuleLazyResolve/whenWithHeiarchy/expected.txt b/idea/idea-frontend-fir/idea-fir-low-level-api/testdata/multiModuleLazyResolve/whenWithHeiarchy/expected.txt index bfe62cb2db1..048c70e24e4 100644 --- a/idea/idea-frontend-fir/idea-fir-low-level-api/testdata/multiModuleLazyResolve/whenWithHeiarchy/expected.txt +++ b/idea/idea-frontend-fir/idea-fir-low-level-api/testdata/multiModuleLazyResolve/whenWithHeiarchy/expected.txt @@ -1,11 +1,11 @@ FILE: main.kt - public? final? fun Y.test(): String? { - lval a: = when (this#) { - ($subj$ is F) -> { - IntegerLiteral(1) + public final fun R|Y|.test(): R|kotlin/String?| { + lval a: R|kotlin/Int| = when (this@R|/test|) { + ($subj$ is R|F|) -> { + Int(1) } - ($subj$ is G) -> { - IntegerLiteral(2) + ($subj$ is R|G|) -> { + Int(2) } else -> { ^test Null(null)