[AA] allow navigation from '==' to the equals method of lhs
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class A(val n: Any) {
|
||||
override infix fun equals(other: Any?): Boolean = other is A && other.n <caret>== n
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in kotlin.Any) open operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class A(val n: Any) {
|
||||
override fun equals(other: Any?): Boolean = other is A && other.n <caret>== n
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in kotlin.Any) open operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
class A(val n: Any) {
|
||||
override infix fun equals(other: Any?): Boolean = other is A && other.n <caret>!= n
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in kotlin.Any) open operator fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
Reference in New Issue
Block a user