FIR IDE: fix passing whenWithHeiarchy test
This commit is contained in:
-10
@@ -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|) -> {
|
||||
|
||||
+1
-2
@@ -3,6 +3,5 @@
|
||||
{ "name": "main", "dependsOn": ["dependency"] },
|
||||
{ "name": "dependency" }
|
||||
],
|
||||
"fileToResolve": { "module": "main", "file": "main.kt" },
|
||||
"fails": true
|
||||
"fileToResolve": { "module": "main", "file": "main.kt" }
|
||||
}
|
||||
Reference in New Issue
Block a user