ClassFormatError because of initializing variable with Any type with primitive value

#KT-3524 Fixed
This commit is contained in:
Natalia.Ukhorskaya
2013-05-08 17:17:39 +04:00
parent 551c370242
commit 9e584ded11
3 changed files with 13 additions and 3 deletions
@@ -0,0 +1,5 @@
val i: Any = 12
fun box(): String {
return if (i == 12) "OK" else "fail"
}