[FIR] Search expect for actual only in dependsOn dependencies
Before this commit, the expect-actual resolver could find expects in
regular dependencies
Note: The appeared `VIRTUAL_MEMBER_HIDDEN` in
compiler/fir/analysis-tests/testData/resolveWithStdlib/multiModule/FakeOverrides.kt
isn't caused by my change. It's caused by fixing the testData dependency
syntax notation.
The testData improperly used regular dependency syntax notation, while
it should have been using dependsOn
Before:
Regular dependency syntax notation
// MODULE: androidMain(commonMain)
After:
dependsOn dependency syntax notation
// MODULE: androidMain()()(commonMain)
This commit is contained in:
analysis/analysis-api/testData/components/multiplatformInfoProvider/expectForActual/actual_object.kt
Vendored
+1
-1
@@ -7,7 +7,7 @@ expect object Platform {
|
||||
val name: String
|
||||
}
|
||||
|
||||
// MODULE: androidMain(commonMain)
|
||||
// MODULE: androidMain()()(commonMain)
|
||||
// FILE: JvmAndroid.kt
|
||||
|
||||
package sample
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
package sample
|
||||
expect fun foo()
|
||||
|
||||
// MODULE: androidMain(commonMain)
|
||||
// MODULE: androidMain()()(commonMain)
|
||||
// FILE: JvmAndroid.kt
|
||||
|
||||
package sample
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ expect fun foo()
|
||||
package sample
|
||||
expect fun foo()
|
||||
|
||||
// MODULE: androidMain(commonMain1, commonMain2)
|
||||
// MODULE: androidMain()()(commonMain1, commonMain2)
|
||||
// FILE: JvmAndroid.kt
|
||||
|
||||
package sample
|
||||
|
||||
Reference in New Issue
Block a user