IDELightClassContexts#isDummyResolveApplicable: add missing check

Missing check caused exact resolve being applied to every class that had 'equals' overridden
This commit is contained in:
Pavel V. Talanov
2017-04-14 16:56:33 +03:00
parent 10aa9c5910
commit 3401529be1
6 changed files with 59 additions and 4 deletions

View 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
}