add test for ReferencesSearch; use standard isReferenceTo() API (which is the same thing for Kotlin but more efficient for non-Kotlin references)

This commit is contained in:
Dmitry Jemerov
2015-06-08 18:57:05 +02:00
parent 7d02b522db
commit 34577a7e12
5 changed files with 81 additions and 11 deletions
+12
View File
@@ -0,0 +1,12 @@
class A() {
fun p<caret>lus(rhs: A): A {
return A()
}
}
val a1 = A()
val a2 = A()
val a3 = a1 + a2
val a4 = a1.plus(a2)
val a5 = a1 plus a2