mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
IDELightClassContexts#isDummyResolveApplicable: add missing check
Missing check caused exact resolve being applied to every class that had 'equals' overridden
This commit is contained in:
18
compiler/testData/asJava/lightClasses/NonDataClassWithComponentFunctions.kt
vendored
Normal file
18
compiler/testData/asJava/lightClasses/NonDataClassWithComponentFunctions.kt
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user