Insert new line between annotation and type alias or sec. constructor

#KT-26377 Fixed
This commit is contained in:
Mikhail Glukhikh
2018-08-30 15:13:32 +03:00
parent bae754a266
commit ea74b37b5b
4 changed files with 29 additions and 5 deletions
@@ -0,0 +1,11 @@
@Target(AnnotationTarget.TYPEALIAS, AnnotationTarget.CONSTRUCTOR)
annotation class Ann
@Ann
typealias Alias = Int
class C @Ann constructor(val x: Int) {
@Ann
constructor() : this(42) {
}
}
@@ -0,0 +1,9 @@
@Target(AnnotationTarget.TYPEALIAS, AnnotationTarget.CONSTRUCTOR)
annotation class Ann
@Ann typealias Alias = Int
class C @Ann constructor(val x: Int) {
@Ann constructor(): this(42) {
}
}