Fix JS completion tests: remove unneeded imports, take care about type aliases looking different in completion.

This commit is contained in:
Ilya Gorbunov
2016-11-04 06:02:23 +03:00
parent e787930673
commit d103657e07
2 changed files with 2 additions and 4 deletions
@@ -1,11 +1,9 @@
import java.util.* // temporary until typealiases for collection are introduced in JVM
fun <T> Iterable<T>.first() : T? {
return this.iterator()?.next()
}
fun main(args : Array<String>) {
val test = HashSet<Int>()
val test = HashSet<Int>() // aliased in JVM to java.util.HashSet
test.<caret>
}