Files
kotlin-fork/compiler/testData/codegen/box/regressions/kt14447.kt
T
2018-06-09 19:15:38 +03:00

24 lines
341 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
class ImpulsMigration
{
fun migrate(oldVersion: Long)
{
var _oldVersion = oldVersion
if (4 > 3)
{
_oldVersion = 1
}
if (1 > 3)
{
_oldVersion++
}
}
}
fun box(): String {
ImpulsMigration().migrate(1L)
return "OK"
}