Do not remove import to component functions

This commit is contained in:
Natalia.Ukhorskaya
2013-03-14 15:01:01 +04:00
parent 5bdd52c65f
commit 0a4eaad595
5 changed files with 49 additions and 6 deletions
@@ -0,0 +1,7 @@
import test1.MyClass
import test1.component1
import test1.component2
fun foo() {
val (a, b) = MyClass()
}
@@ -0,0 +1,7 @@
import test1.MyClass
import test1.component1
import test1.component2
fun foo() {
val (a, b) = MyClass()
}
@@ -0,0 +1,7 @@
package test1
public class MyClass {
}
public fun MyClass.component1() = 1
public fun MyClass.component2() = 2