Files
kotlin-fork/compiler/testData/codegen/box/regressions/kt14447.kt
T
Denis Zharkov b7e8071a7d Do not use BasicInterpreter for bytecode analysis
The problem with BasicInterpreter is the following:
it creates BasicValue objects that should be replaced in favor of StrictBasicicValue

See commit message in 25c6ac1 for clarification

 #KT-14447 Fixed
2016-10-25 10:14:52 +03:00

23 lines
316 B
Kotlin
Vendored

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"
}