mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
20 lines
652 B
Plaintext
Vendored
20 lines
652 B
Plaintext
Vendored
-- Common --
|
|
Exit code: OK
|
|
Output:
|
|
|
|
-- JVM --
|
|
Exit code: COMPILATION_ERROR
|
|
Output:
|
|
compiler/testData/multiplatform/classScopes/missingFunction/common.kt:1:14: error: header declaration 'Foo' has no implementation in module
|
|
The following declaration is incompatible because some members are not implemented.
|
|
No implementations are found for members listed below:
|
|
|
|
public final header fun function(s: String): Unit
|
|
|
|
header class Foo {
|
|
^
|
|
compiler/testData/multiplatform/classScopes/missingFunction/jvm.kt:1:1: error: modifier 'impl' is only applicable to members that are initially declared in platform-independent code
|
|
impl class Foo
|
|
^
|
|
|