5179462632
The 'evalJs' test is not available, as there is no proper support for klib loading in non-standalone Analysis API yet. ^KT-64197 Fixed
23 lines
319 B
Kotlin
Vendored
23 lines
319 B
Kotlin
Vendored
// !LANGUAGE: +MultiPlatformProjects
|
|
|
|
// MODULE: common
|
|
// TARGET_PLATFORM: Common
|
|
// FILE: Common.kt
|
|
package test
|
|
|
|
fun test(foo: Foo) {
|
|
<caret>foo.call()
|
|
}
|
|
|
|
expect class Foo {
|
|
fun call()
|
|
}
|
|
|
|
// MODULE: main()()(common)
|
|
// TARGET_PLATFORM: JVM
|
|
// FILE: Jvm.kt
|
|
package test
|
|
|
|
actual class Foo {
|
|
fun call() {}
|
|
} |