"Add names to call arguments" shouldn't appear when the only argument is a trailing lambda

Fixes #KT-15501
This commit is contained in:
Kirill Rakhman
2017-01-06 18:50:15 +01:00
committed by Mikhail Glukhikh
parent 44e69d8adc
commit 2b54f1ac72
3 changed files with 16 additions and 7 deletions
@@ -0,0 +1,6 @@
// IS_APPLICABLE: false
fun foo(f: () -> Unit) {}
fun bar() {
<caret>foo {}
}