Files
kotlin/idea/testData/codeInsight/generate/equalsWithHashCode/noVarsJS.kt.after

16 lines
340 B
Plaintext
Vendored

// 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()
}
}