New J2K: Fixed wrong whitespace

This commit is contained in:
Dimach
2018-06-08 17:27:32 +03:00
committed by Ilya Kirillov
parent 8430ada13b
commit b33f5ec58f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ val testForWebDemo by task<Test> {
val test: Test by tasks
test.apply {
exclude("**/*JavaToKotlinConverterForWebDemoTestGenerated*")
dependsOn(testForWebDemo)
//dependsOn(testForWebDemo)
}
configureFreeCompilerArg(true, "-Xeffect-system")
@@ -80,7 +80,7 @@ class NewCodeBuilder {
builder.append(" ")
printer.print(klass.name.value)
if (klass.declarationList.isNotEmpty()) {
printer.println("{")
printer.println(" {")
printer.pushIndent()
klass.declarationList.forEach { it.accept(this) }
printer.popIndent()
@@ -109,7 +109,7 @@ class NewCodeBuilder {
printer.print("fun ", ktFunction.name.value, "(", ")")
ktFunction.returnType.accept(this)
if (ktFunction.block !== JKBodyStub) {
printer.printlnWithNoIndent("{")
printer.printlnWithNoIndent(" {")
printer.pushIndent()
ktFunction.block.accept(this)
printer.popIndent()