Files
kotlin-fork/compiler/testData/multiplatform/missingOverload/output.txt
T
Mikhail Glukhikh 2a8b655294 Update tests after switching to LV 2.0
Related to KT-59171
2023-09-19 15:46:27 +00:00

17 lines
437 B
Plaintext
Vendored

-- Common --
Exit code: OK
Output:
-- JVM --
Exit code: COMPILATION_ERROR
Output:
compiler/testData/multiplatform/missingOverload/jvm.kt:1:14: error: actual class 'actual class Foo : Any' has no corresponding members for expected class members:
expect fun f(a: Any): Unit
The following declaration is incompatible because parameter types are different:
actual fun f(s: String): Unit
actual class Foo {
^