Formatter: fix line break between declarations with comment
#KT-12490 Fixed #KT-35088 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class Some(b: Boolean) {
|
||||
// Comment.
|
||||
constructor(b: Int) : this(b == 0)
|
||||
/**
|
||||
* test
|
||||
* 2
|
||||
*/
|
||||
constructor(b: String) : this(b.isEmpty())
|
||||
constructor(b: Long) : this(b == 0L)
|
||||
}
|
||||
Reference in New Issue
Block a user