Add JetMultiDeclarationReference
A reference to component* functions
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user