Move lambda argument out of parentheses: fix false negative when function type is type parameter
#KT-26979 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
b4789b95ef
commit
8e61a13809
@@ -0,0 +1,5 @@
|
||||
fun <T> foo(t: T) {}
|
||||
|
||||
fun test() {
|
||||
foo(<caret>{ "a" })
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun <T> foo(t: T) {}
|
||||
|
||||
fun test() {
|
||||
foo { "a" }
|
||||
}
|
||||
Reference in New Issue
Block a user