Don't include unindented comments preceding a function into its text range
#KT-10591 Fixed
This commit is contained in:
+2
-4
@@ -1,10 +1,8 @@
|
||||
package format.test
|
||||
|
||||
// TODO: Comment on first column shouldn't be formatted, but now there's no way to adjust rule for the first comment in parent declaration.
|
||||
|
||||
class LineComments {
|
||||
// Should not be formatted
|
||||
// Format
|
||||
// Should not be formatted
|
||||
// Format
|
||||
// Format
|
||||
fun test() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user