Formatter: Insert new line before/after type alias

#KT-20766 Fixed
This commit is contained in:
Alexey Sedunov
2017-10-19 19:03:30 +03:00
parent f23dfdc0ac
commit fa4e4cbb42
4 changed files with 74 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
typealias A = Int
typealias B = Int
//
typealias C = Int
typealias D =
Int
//
typealias E =
Int
typealias F = Int
//
typealias G = Int
class X
//
typealias H = Int
object O
//
typealias I = Int
fun foo() {}
//
fun foo() {}
typealias J = Int
//
class Y
typealias K = Int
//
object OO
typealias L = Int
+28
View File
@@ -0,0 +1,28 @@
typealias A = Int
typealias B = Int
//
typealias C = Int
typealias D =
Int
//
typealias E =
Int
typealias F = Int
//
typealias G = Int
class X
//
typealias H = Int
object O
//
typealias I = Int
fun foo() {}
//
fun foo() {}
typealias J = Int
//
class Y
typealias K = Int
//
object OO
typealias L = Int