No space between label and lambda in labeled expressions

#KT-22301 Fixed
This commit is contained in:
Dmitry Jemerov
2018-02-04 11:08:42 +01:00
parent 8f9b818e43
commit 5bb195df9b
11 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -3,5 +3,5 @@
inline fun Int.bar(f: (Int) -> Unit) { }
fun test() {
1.bar foo@ { if (it == 2) return@<caret>foo }
1.bar foo@{ if (it == 2) return@foo }
}
@@ -3,5 +3,5 @@
inline fun Int.bar(f: (Int) -> Unit) { }
fun test() {
1.bar foo@ { 2.bar { if (it == 2) return@<caret>foo } }
1.bar foo@{ 2.bar { if (it == 2) return@<caret>foo } }
}