Formatter: fix line break after package & file annotation

#KT-23957 Fixed
This commit is contained in:
Dmitry Gridin
2019-11-29 18:22:35 +07:00
parent f334ad2ffc
commit 4b98430058
13 changed files with 52 additions and 7 deletions
+3
View File
@@ -0,0 +1,3 @@
package one // tooo
val a = 42
+3
View File
@@ -0,0 +1,3 @@
package one // tooo
val a = 42
@@ -0,0 +1,2 @@
@file:Suppress("NAMED_ARGUMENTS_NOT_ALLOWED") // for common tests
package foo
@@ -0,0 +1,2 @@
@file:Suppress("NAMED_ARGUMENTS_NOT_ALLOWED") // for common tests
package foo
@@ -0,0 +1,3 @@
@file:Suppress("NAMED_ARGUMENTS_NOT_ALLOWED")
// for common tests
package foo
@@ -0,0 +1,3 @@
@file:Suppress("NAMED_ARGUMENTS_NOT_ALLOWED")
// for common tests
package foo
@@ -0,0 +1,2 @@
@file:Suppress("NAMED_ARGUMENTS_NOT_ALLOWED") /*for common tests*/
package foo
@@ -0,0 +1,2 @@
@file:Suppress("NAMED_ARGUMENTS_NOT_ALLOWED") /*for common tests*/
package foo
@@ -1,5 +1,4 @@
@file:Suppress("REDUNDANT_NULLABLE")
// "Suppress 'REDUNDANT_NULLABLE' for file ${file}" "true"
public fun foo(): String?<caret>? = null