var f; { var local = "local"; fun f_() { print(local); } f = f_; } f(); # expect: local