Files
2025-01-30 22:41:17 -05:00

14 lines
265 B
Plaintext

// Create a local scope for the 'then' expression.
var a = "out"
if (true) {
var a = "in"
}
System.print(a) // expect: out
// Create a local scope for the 'else' expression.
var b = "out"
if (false) "dummy" else {
var b = "in"
}
System.print(b) // expect: out