fn main() { obj foo() { fn m1(i: int) { let i = i + 1; #debug("hi!"); } fn m2(i: int) { let i = i + 1; self.m1(i); } } let a = foo(); let i: int = 0; a.m1(i); a.m2(i); }