From a3a59131b57692bb6c830cc37859a9ef18fc8260 Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Wed, 2 Sep 2020 13:23:30 +0300 Subject: [PATCH] FIR IDE: fix passing whenWithHeiarchy test --- .../whenWithHeiarchy/expected.txt | 10 ---------- .../whenWithHeiarchy/structure.json | 3 +-- 2 files changed, 1 insertion(+), 12 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 6326571ce7a..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,14 +1,4 @@ FILE: main.kt - public abstract interface A : R|kotlin/Any| { - } - public abstract interface X : R|A| { - } - public abstract interface Y : R|A| { - } - public abstract interface F : R|Y|, R|X| { - } - public abstract interface G : R|Y|, R|X| { - } public final fun R|Y|.test(): R|kotlin/String?| { lval a: R|kotlin/Int| = when (this@R|/test|) { ($subj$ is R|F|) -> { diff --git a/idea/idea-frontend-fir/idea-fir-low-level-api/testdata/multiModuleLazyResolve/whenWithHeiarchy/structure.json b/idea/idea-frontend-fir/idea-fir-low-level-api/testdata/multiModuleLazyResolve/whenWithHeiarchy/structure.json index 3eb62dde3ec..126eb8be95d 100644 --- a/idea/idea-frontend-fir/idea-fir-low-level-api/testdata/multiModuleLazyResolve/whenWithHeiarchy/structure.json +++ b/idea/idea-frontend-fir/idea-fir-low-level-api/testdata/multiModuleLazyResolve/whenWithHeiarchy/structure.json @@ -3,6 +3,5 @@ { "name": "main", "dependsOn": ["dependency"] }, { "name": "dependency" } ], - "fileToResolve": { "module": "main", "file": "main.kt" }, - "fails": true + "fileToResolve": { "module": "main", "file": "main.kt" } } \ No newline at end of file