/* As you see, the language supports variable scopes */ import "!stdlib.src"; let x = 18; let foo = () => i64 { let x = 1; println("%d", x); return x; }; let main = () => i64 { println("%d", x); let x = 2; let y = foo(); println("%d", x); return x + y; }; /* Expected stdout: 18 1 2 Expected return: 3 */