Fix conversion of assignment as expression in J2K
Blockless if's and so with assignment as expression inside should turn into blockful #KT-16816 fixed
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
class SomeClass {
|
||||
internal var a: Int = 0
|
||||
internal var b: Int = 0
|
||||
internal fun doSomeWhile(i: Int) {
|
||||
do {
|
||||
b = i
|
||||
a = b
|
||||
} while (i < 0)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user