Insert new line between annotation and type alias or sec. constructor
#KT-26377 Fixed
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user