Files
kotlin/compiler/testData/asJava/lightClasses/NonDataClassWithComponentFunctions.kt
Pavel V. Talanov 3401529be1 IDELightClassContexts#isDummyResolveApplicable: add missing check
Missing check caused exact resolve being applied to every class that had 'equals' overridden
2017-04-18 14:59:43 +03:00

18 lines
307 B
Kotlin
Vendored

// p.A
package p
class A(val y: Int) {
override fun equals(other: Any?): Boolean {
return super.equals(other)
}
override fun hashCode(): Int {
return super.hashCode()
}
override fun toString(): String {
return super.toString()
}
fun component1() = y
}