Formatter: fix line break between declarations with comment

#KT-12490 Fixed
#KT-35088 Fixed
This commit is contained in:
Dmitry Gridin
2019-11-15 21:57:37 +07:00
parent b6b755506c
commit bfd539d5d1
49 changed files with 191 additions and 12 deletions
@@ -6,6 +6,7 @@
expect class My {
fun foo(param: String): Int
fun String.bar(y: Double): Boolean
/**
* Dokka comment: Just does nothing
*/
@@ -7,9 +7,11 @@ expect sealed class My(x: Double) {
object First : My {
override val num: Int
}
class Some(num: Int) : My {
override val num: Int
}
object Best : My {
override val num: Int
override fun isGood(): Boolean