FIR IDE: fix passing whenWithHeiarchy test

This commit is contained in:
Ilya Kirillov
2020-09-02 13:23:30 +03:00
parent 6d0a5a0bb2
commit a3a59131b5
2 changed files with 1 additions and 12 deletions
@@ -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|) -> {
@@ -3,6 +3,5 @@
{ "name": "main", "dependsOn": ["dependency"] },
{ "name": "dependency" }
],
"fileToResolve": { "module": "main", "file": "main.kt" },
"fails": true
"fileToResolve": { "module": "main", "file": "main.kt" }
}