27 lines
1.0 KiB
Plaintext
Vendored
27 lines
1.0 KiB
Plaintext
Vendored
-- Common --
|
|
Exit code: OK
|
|
Output:
|
|
|
|
-- JVM --
|
|
Exit code: COMPILATION_ERROR
|
|
Output:
|
|
compiler/testData/multiplatform/incompatibleProperties/common.kt:1:1: error: header declaration 'pval' has no implementation in module
|
|
The following declaration is incompatible because property kinds are different (val vs var):
|
|
public var pval: String
|
|
|
|
header val pval: String
|
|
^
|
|
compiler/testData/multiplatform/incompatibleProperties/common.kt:2:1: error: header declaration 'pvar' has no implementation in module
|
|
The following declaration is incompatible because property kinds are different (val vs var):
|
|
public val pvar: String
|
|
|
|
header var pvar: String
|
|
^
|
|
compiler/testData/multiplatform/incompatibleProperties/jvm.kt:1:1: error: modifier 'impl' is only applicable to members that are initially declared in platform-independent code
|
|
impl var pval: String = ""
|
|
^
|
|
compiler/testData/multiplatform/incompatibleProperties/jvm.kt:2:1: error: modifier 'impl' is only applicable to members that are initially declared in platform-independent code
|
|
impl val pvar: String = ""
|
|
^
|
|
|