KT-6393 Smart completion of anonymous object inserts type with "!" for type parameter
#KT-6393 Fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
class JavaClass<T> {
|
||||
JavaClass(Comparator<T> comparator) {
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun f(){
|
||||
JavaClass<String>(<caret>)
|
||||
}
|
||||
|
||||
// EXIST: { itemText: "object: Comparator<String?>{...}" }
|
||||
@@ -0,0 +1,3 @@
|
||||
public trait Comparator<T> {
|
||||
public fun compare(var1: T, var2: T): Int
|
||||
}
|
||||
Reference in New Issue
Block a user