Lambda to anonymous: report only from left brace to arrow

This commit is contained in:
Mikhail Glukhikh
2018-05-15 15:26:02 +03:00
parent f4acaae364
commit 6a1ddd6c70
10 changed files with 25 additions and 11 deletions
@@ -1,5 +1,5 @@
fun foo(f: () -> String) {}
fun test() {
foo <caret>{ "" }
foo { <caret>-> "" }
}