Change signature: fix it works correctly when call site function has no value argument list

#KT-23510 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-02-19 22:41:25 +09:00
committed by Vladimir Dolzhenko
parent 223ed1ad60
commit f487118be5
9 changed files with 56 additions and 0 deletions
@@ -0,0 +1,4 @@
// "Remove parameter 'block'" "true"
fun doNotUse1(<caret>block: () -> Unit) {}
fun useNotUse1() = doNotUse1 { }
@@ -0,0 +1,4 @@
// "Remove parameter 'block'" "true"
fun doNotUse1() {}
fun useNotUse1() = doNotUse1()