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
+8
View File
@@ -0,0 +1,8 @@
data class A(val <caret>n: Int, val s: String, val o: Any)
fun test() {
val a = A(1, "2", Any())
a.n
a.component1()
val (x, y, z) = a
}