tests: apply official code style
#KT-38632 Fixed
This commit is contained in:
@@ -6,10 +6,10 @@ object Test {
|
||||
println()// Comment
|
||||
|
||||
Test
|
||||
// Comment1
|
||||
.foo()
|
||||
// Comment2
|
||||
.indexOf("s")
|
||||
// Comment1
|
||||
.foo()
|
||||
// Comment2
|
||||
.indexOf("s")
|
||||
}
|
||||
|
||||
fun foo(): String {
|
||||
|
||||
@@ -12,7 +12,7 @@ internal class A// this is a primary constructor
|
||||
// end of secondary constructor 1 body
|
||||
|
||||
internal class B// this constructor will disappear
|
||||
(private val x: Int) // end of constructor body
|
||||
(private val x: Int) // end of constructor body
|
||||
{
|
||||
|
||||
fun foo() {}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
internal class C(private val p1: Int /* parameter p1 */ // field p1
|
||||
,
|
||||
/**
|
||||
* Field myP2
|
||||
*/
|
||||
private val myP2: Int, /* Field p3 */ var p3: Int)
|
||||
internal class C(
|
||||
private val p1: Int /* parameter p1 */ // field p1
|
||||
,
|
||||
/**
|
||||
* Field myP2
|
||||
*/
|
||||
private val myP2: Int, /* Field p3 */ var p3: Int
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user