blob: 1b0eea7128f1311b093b55780492b4df0a82d1a6 [file]
// PLATFORM: JavaScript
class A {
fun foo() {
}
<caret>override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other == null || this::class.js != other::class.js) return false
return true
}
override fun hashCode(): Int {
return this::class.js.hashCode()
}
}