Fixed formatter to work correctly with comments inside declaration nodes
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/** Doc comment for A */
|
||||
class A {
|
||||
/** Doc comment for function */
|
||||
fun foo() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Doc comment for property
|
||||
*/
|
||||
val prop = 1
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/** Doc comment for A */class A { /** Doc comment for function */
|
||||
fun foo(){}
|
||||
/**
|
||||
* Doc comment for property
|
||||
*/ val prop = 1
|
||||
}
|
||||
Reference in New Issue
Block a user