KT-16076 Completion inserts FQN kotlin.text.String
KT-14831 Don't add import statement and FQN on converting lambda to reference if typealias is used KT-16088 Completion wrongly inserts FQN for `kotlin` package #KT-16076 fixed #KT-14831 fixed #KT-16088 fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
package test
|
||||
|
||||
typealias Global = String
|
||||
fun usesGlobal(p: List<Global>) {
|
||||
p.map { <caret>it.toUpperCase() }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
package test
|
||||
|
||||
typealias Global = String
|
||||
fun usesGlobal(p: List<Global>) {
|
||||
p.map(Global::toUpperCase)
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
package test
|
||||
|
||||
typealias Global = List<String>
|
||||
fun usesGlobal(p: List<Global>) {
|
||||
p.map { <caret>it.isEmpty() }
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
package test
|
||||
|
||||
typealias Global = List<String>
|
||||
fun usesGlobal(p: List<Global>) {
|
||||
p.map(Global::isEmpty)
|
||||
}
|
||||
Reference in New Issue
Block a user