work in progress on codegen rewrite (no boxing for primitive types)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun f(): Int {
|
||||
var x: Int = 1
|
||||
x = x + 1
|
||||
return x
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
fun foo(b: Boolean): Int { return if (b) 15 else 20 }
|
||||
@@ -0,0 +1,4 @@
|
||||
fun foo(b: Boolean) : Int {
|
||||
if (b) return 15;
|
||||
return 20;
|
||||
}
|
||||
Reference in New Issue
Block a user