[AA] getExpectForActual analysis-api now returns compatible or weakly incompatible
^KTIJ-27522 Fixed It's the only reasonable behavior for this API in it's current shape (when it returns a list of declarations) It's a common mistake to take only Compatible from expectActualMatchingMap. The problem will be gone after I fix KT-62590 Motivation to fix this bug, is because it will be easier for me to split expect-actual matcher-checker-monster thing KT-62590 Review: https://jetbrains.team/p/kt/reviews/12750/timeline
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
expected symbols:
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// !LANGUAGE: +MultiPlatformProjects
|
||||
|
||||
// MODULE: commonMain
|
||||
// FILE: Common.kt
|
||||
|
||||
package sample
|
||||
expect fun foo()
|
||||
|
||||
// MODULE: androidMain(commonMain)
|
||||
// FILE: JvmAndroid.kt
|
||||
|
||||
package sample
|
||||
internal actual fun f<caret>oo() {}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
expected symbols:
|
||||
Common.kt : fun foo()
|
||||
Reference in New Issue
Block a user