Script refactoring, codegen tests: change test data according to semantics change
Add some new tests for uncovered cases
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user