var a = "global"; { fun assign() { a = "assigned"; } var a = "inner"; assign(); print a; // out: inner } print a; // out: assigned