Attempt to split long or double on the stack exception
#KT-3042 Fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
fun box(): String {
|
||||
var a: Int
|
||||
a = 12
|
||||
fun f() {
|
||||
foo(a)
|
||||
}
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
fun foo(l: Int) {}
|
||||
@@ -0,0 +1,13 @@
|
||||
//KT-3042 Attempt to split long or double on the stack excepion
|
||||
|
||||
fun box(): String {
|
||||
var a: Long
|
||||
a = 12.toLong()
|
||||
fun f() {
|
||||
foo(a)
|
||||
}
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
fun foo(l: Long) {}
|
||||
Reference in New Issue
Block a user