SimplifyCallChainFix: Keep comments in place #KT-22552 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-06-06 06:28:01 +03:00
committed by Mikhail Glukhikh
parent 9bc874f647
commit 1d2e18e263
8 changed files with 101 additions and 5 deletions
@@ -0,0 +1,12 @@
// WITH_RUNTIME
val sb = StringBuilder()
val x = listOf(1, 2, 3).joinTo(
// comment1
buffer = sb,
// comment2
prefix = "= ",
// comment3
separator = " + "
// comment4
) { "$it*$it" }