Add JetMultiDeclarationReference

A reference to component* functions
This commit is contained in:
Pavel V. Talanov
2014-02-17 14:41:36 +04:00
parent 00764d0ae1
commit 6f2ed9a5a9
11 changed files with 133 additions and 0 deletions
@@ -0,0 +1,15 @@
package a
class A() {
}
fun A.component1() = 1
fun A.component2() = 1
fun main(args: Array<String>) {
val (a,<caret> b) = A()
}
// MULTIRESOLVE
// REF: (for A in a).component1()
// REF: (for A in a).component2()