New J2K: Fix do while loop spaces
This commit is contained in:
committed by
Ilya Kirillov
parent
b24d683ebe
commit
8f960f2f47
@@ -105,9 +105,9 @@ class NewCodeBuilder {
|
||||
}
|
||||
|
||||
override fun visitDoWhileStatement(doWhileStatement: JKDoWhileStatement) {
|
||||
printer.printWithNoIndent("do")
|
||||
printer.printWithNoIndent("do ")
|
||||
doWhileStatement.body.accept(this)
|
||||
printer.printWithNoIndent("while (")
|
||||
printer.printWithNoIndent(" while (")
|
||||
doWhileStatement.condition.accept(this)
|
||||
printer.printWithNoIndent(")")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user