[Tesdata fix] Fix test data for multiplatform highlighting test
Once refinement is introduced the behavior becomes correct
This commit is contained in:
committed by
Dmitry Savvinov
parent
d744192e6f
commit
33a31fb688
+2
-2
@@ -6,6 +6,6 @@ actual class A {
|
|||||||
|
|
||||||
|
|
||||||
fun use() {
|
fun use() {
|
||||||
j2.Use.acceptA(j2.Use.returnA())
|
j1.Use.acceptA(j1.Use.returnA())
|
||||||
j2.Use.returnA().id2()
|
j1.Use.returnA().id1()
|
||||||
}
|
}
|
||||||
+2
-4
@@ -3,9 +3,7 @@ package c
|
|||||||
import common.A
|
import common.A
|
||||||
|
|
||||||
fun use(a: A) {
|
fun use(a: A) {
|
||||||
// errors happen when common module part appears before platform part in dependencies list
|
a.id1()
|
||||||
// this is incorrect behaviour but doesn't seem to lead to user facing bugs atm
|
|
||||||
a.<error>id1</error>()
|
|
||||||
val a2: A = j.Use.returnA()
|
val a2: A = j.Use.returnA()
|
||||||
a2.<error>id1</error>()
|
a2.id1()
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user