57c1d8eda4
Blockless if's and so with assignment as expression inside should turn into blockful #KT-16816 fixed
10 lines
190 B
Kotlin
Vendored
10 lines
190 B
Kotlin
Vendored
class SomeClass {
|
|
internal var a: Int = 0
|
|
internal var b: Int = 0
|
|
internal fun doSomeWhile(i: Int) {
|
|
while (i < 0) {
|
|
b = i
|
|
a = b
|
|
}
|
|
}
|
|
} |