Script refactoring, codegen tests: change test data according to semantics change

Add some new tests for uncovered cases
This commit is contained in:
Pavel V. Talanov
2015-11-17 15:14:15 +03:00
parent 6563830584
commit ad58617753
22 changed files with 42 additions and 26 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
val x: Int
var x: Int = 0
if (true) {
fun foo(y: Int) = y + 20
x = foo(9)
}
x
val rv = x
// expected: rv: 29