Formatter: fix line break between declarations with comment
#KT-12490 Fixed #KT-35088 Fixed
This commit is contained in:
@@ -1,9 +1,30 @@
|
||||
interface Some {
|
||||
fun f1()
|
||||
fun f2()
|
||||
fun f3()
|
||||
|
||||
/* test */
|
||||
fun f4()
|
||||
/* test */ fun f5()
|
||||
|
||||
/**
|
||||
* test
|
||||
* 2
|
||||
*/
|
||||
fun f6()
|
||||
fun f7()
|
||||
}
|
||||
|
||||
abstract class Abstract() {
|
||||
abstract fun f1()
|
||||
abstract fun f2()
|
||||
|
||||
// test
|
||||
abstract fun f3()
|
||||
|
||||
// test
|
||||
/* test */ abstract fun f4()
|
||||
abstract fun f5()
|
||||
abstract fun f6()
|
||||
/* test */ abstract fun f7()
|
||||
}
|
||||
Reference in New Issue
Block a user