Files
Timofey Solonin a17919a1fb Update multiplatform diagnostic in tests
^KT-31281

GitOrigin-RevId: 491d6bc66abc2a0e5f4905fba4412045379cef57
2023-07-12 08:57:49 +00:00

8 lines
328 B
Plaintext

expect class WithConstructor(x: Int, s: String) {
val x: Int
val s: String
override fun equals(other: Any?): Boolean
override fun hashCode(): Int
}
// ERROR: 'expect' and 'actual' declarations can be used only in multiplatform projects. Learn more about Kotlin Multiplatform: https://kotl.in/multiplatform-setup