insert type intention now only applicable in function names (KT-4950)
#KT-4950 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun foo() {
|
||||
val x = bar("<caret>x")
|
||||
}
|
||||
|
||||
fun bar<T>(t: T): Int = 1
|
||||
@@ -0,0 +1,6 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun foo() {
|
||||
val x = bar("x") { <caret>2 }
|
||||
}
|
||||
|
||||
fun bar<T>(t: T, v : () -> Int): Int = 1
|
||||
Reference in New Issue
Block a user