Fix completion handler tests: use tail specifier to select one of multiple completion variants (eg 'kotlin.collections.ArrayList' vs 'java.util.ArrayList').
Replace aliased types imported by default with something else.
This commit is contained in:
@@ -2,4 +2,5 @@ class Foo<T, V>
|
||||
|
||||
class Bar: Foo<S<caret>
|
||||
|
||||
// ELEMENT: StringBuilder
|
||||
// ELEMENT: StringBuilder
|
||||
// TAIL_TEXT: " (kotlin.text)"
|
||||
@@ -1,5 +1,6 @@
|
||||
class Foo<T, V>
|
||||
|
||||
class Bar: Foo<StringBuilder<caret>
|
||||
class Bar: Foo<StringBuilder
|
||||
|
||||
// ELEMENT: StringBuilder
|
||||
// ELEMENT: StringBuilder
|
||||
// TAIL_TEXT: " (kotlin.text)"
|
||||
@@ -1,7 +1,6 @@
|
||||
import java.util.HashMap
|
||||
|
||||
fun foo() {
|
||||
val v = HashMap<String, H<caret>
|
||||
}
|
||||
|
||||
// ELEMENT: HashSet
|
||||
// ELEMENT: HashSet
|
||||
// TAIL_TEXT: "<E> (kotlin.collections)"
|
||||
@@ -1,8 +1,6 @@
|
||||
import java.util.HashMap
|
||||
import java.util.HashSet
|
||||
|
||||
fun foo() {
|
||||
val v = HashMap<String, HashSet<caret>
|
||||
val v = HashMap<String, HashSet
|
||||
}
|
||||
|
||||
// ELEMENT: HashSet
|
||||
// ELEMENT: HashSet
|
||||
// TAIL_TEXT: "<E> (kotlin.collections)"
|
||||
Reference in New Issue
Block a user