KT-1931 Duplicate class from Kotlin runtime in completion

#KT-1931 Fixed
This commit is contained in:
Nikolay Krasko
2012-11-08 16:32:32 +04:00
parent 8bb6b651b0
commit 91f7a094fe
10 changed files with 46 additions and 8 deletions
@@ -0,0 +1,6 @@
val x = LineIterator<caret>
// RUNTIME: 1
// TIME: 1
// EXIST: LineIterator
// NUMBER: 1
@@ -1,5 +1,5 @@
// KT-2424 Invoking completion adds unnecessary FQ name
fun main(args: Array<String>) {
throw IllegalAccessExceptio<caret>() //Press Ctrl+Space and select it
throw IllegalAccessExceptio<caret> //Press Ctrl+Space and select it
}
@@ -1,5 +1,5 @@
// KT-2424 Invoking completion adds unnecessary FQ name
fun main(args: Array<String>) {
throw IllegalAccessException<caret>() //Press Ctrl+Space and select it
throw IllegalAccessException<caret> //Press Ctrl+Space and select it
}
@@ -0,0 +1,5 @@
class SortedSet
fun test() {
val a = SortedSet<caret>
}
@@ -0,0 +1,5 @@
class SortedSet
fun test() {
val a = java.util.SortedSet
}