[AA] Add expectForActual

#KT-54864

Merge-request: KT-MR-8222
Merged-by: Vladimir Dolzhenko <Vladimir.Dolzhenko@jetbrains.com>
This commit is contained in:
Vladimir Dolzhenko
2023-01-13 21:36:04 +00:00
committed by Space Team
parent 3afb93ca31
commit ca31307941
16 changed files with 400 additions and 1 deletions
@@ -0,0 +1,16 @@
// !LANGUAGE: +MultiPlatformProjects
// MODULE: commonMain
// FILE: Common.kt
package sample
expect object Platform {
val name: String
}
// MODULE: androidMain(commonMain)
// FILE: JvmAndroid.kt
package sample
actual object <caret>Platform {
actual val name: String = "JVM"
}
@@ -0,0 +1 @@
expected symbol: Common.kt : object Platform