Convert receiver to parameter: place value argument list after type argument list

#KT-41499 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-09-08 11:18:24 +09:00
committed by Dmitry Gridin
parent b1629cc5f4
commit f9f8fd055b
4 changed files with 18 additions and 2 deletions
@@ -0,0 +1,5 @@
fun <T> <caret>Any.foo(callback: () -> Unit) {}
fun bar() {
"".foo<Int> {}
}
@@ -0,0 +1,5 @@
fun <T> foo(any: Any, callback: () -> Unit) {}
fun bar() {
foo<Int>("") {}
}