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
@@ -1,11 +1,11 @@
val z = 30
val x: Int
var x: Int = 0
if (true) {
fun foo() = z + 20
x = foo()
}
x
val rv = x
// expected: rv: 50