Files
kotlin-fork/compiler/testData/multiplatform/simple/js.kt
T
Alexander Udalov 204873edf2 Support "-Xno-check-impl" argument, check only real declarations
Use "-Xno-check-impl" to suppress checking whether the platform declaration
implementation has the "impl" modifier.

Do not check presence of fake overrides from platform class in the impl class,
otherwise there would be a lot of errors about the fact that
equals/hashCode/toString are not marked with the "impl" modifier
2016-11-25 20:50:29 +03:00

6 lines
106 B
Kotlin
Vendored

impl class Printer {
impl fun print(message: String) {
println("JS says: " + message)
}
}