| // PLATFORM: Common | |
| class A { | |
| fun foo() { | |
| } | |
| <caret>override fun equals(other: Any?): Boolean { | |
| if (this === other) return true | |
| if (other == null || this::class != other::class) return false | |
| return true | |
| } | |
| override fun hashCode(): Int { | |
| return this::class.hashCode() | |
| } | |
| } |