Leandro Lucarella Wrote: > It looks like Go now have scope (exit) =) > > http://golang.org/doc/go_spec.html#DeferStmt > And in order to execute block of statements you must make compiler happy: // f returns 1 func f() (result int) { defer func() { result++ }() return 0 }