Fix InsertExplicitTypeArguments intention to insert imports for shortened types
#KT-5489 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun foo(c: kotlin.support.AbstractIterator<kotlin.concurrent.FunctionalList<Int>>) {
|
||||
ba<caret>r(c)
|
||||
}
|
||||
|
||||
fun <T> bar(t: T): T = t
|
||||
|
||||
// WITH_RUNTIME
|
||||
@@ -0,0 +1,10 @@
|
||||
import kotlin.concurrent.FunctionalList
|
||||
import kotlin.support.AbstractIterator
|
||||
|
||||
fun foo(c: kotlin.support.AbstractIterator<kotlin.concurrent.FunctionalList<Int>>) {
|
||||
bar<AbstractIterator<FunctionalList<Int>>>(c)
|
||||
}
|
||||
|
||||
fun <T> bar(t: T): T = t
|
||||
|
||||
// WITH_RUNTIME
|
||||
Reference in New Issue
Block a user