Convert receiver to parameter: place value argument list after type argument list
#KT-41499 Fixed
This commit is contained in:
committed by
Dmitry Gridin
parent
b1629cc5f4
commit
f9f8fd055b
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
fun <T> <caret>Any.foo(callback: () -> Unit) {}
|
||||
|
||||
fun bar() {
|
||||
"".foo<Int> {}
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
fun <T> foo(any: Any, callback: () -> Unit) {}
|
||||
|
||||
fun bar() {
|
||||
foo<Int>("") {}
|
||||
}
|
||||
Reference in New Issue
Block a user