e3e4c447fa
#KT-18683 Fixed
16 lines
327 B
Plaintext
Vendored
16 lines
327 B
Plaintext
Vendored
// PLATFORM: Common
|
|
class A {
|
|
fun foo() {
|
|
|
|
}
|
|
|
|
<caret>override fun equals(other: Any?): Boolean {
|
|
if (this === other) return true
|
|
if (other == null || other::class != this::class) return false
|
|
return true
|
|
}
|
|
|
|
override fun hashCode(): Int {
|
|
return this::class.hashCode()
|
|
}
|
|
} |