[Analysis API] fix "KotlinIllegalStateExceptionWithAttachments: expected as maximum one expect for the actual"

^KT-61597 fixed
This commit is contained in:
Ilya Kirillov
2023-08-30 23:47:19 +02:00
committed by Space Team
parent f39153b6e6
commit 56910b70a3
13 changed files with 71 additions and 36 deletions
@@ -1 +1,2 @@
expected symbol: null
expected symbols:
@@ -1 +1,2 @@
expected symbol: Common.kt : object Platform
expected symbols:
Common.kt : object Platform
@@ -0,0 +1,19 @@
// !LANGUAGE: +MultiPlatformProjects
// MODULE: commonMain1
// FILE: Common1.kt
package sample
expect fun foo()
// MODULE: commonMain2
// FILE: Common2.kt
package sample
expect fun foo()
// MODULE: androidMain(commonMain1, commonMain2)
// FILE: JvmAndroid.kt
package sample
actual fun f<caret>oo() {}
@@ -0,0 +1,3 @@
expected symbols:
Common1.kt : fun foo()
Common2.kt : fun foo()