Roll back 'unconditionally resume local vars'

See the previous commit for the rationale.
This commit is contained in:
Nigel Tao committed 2018-02-22 11:23:58 +11:00
1 parent 2b6b0acb4f
commit 5a927d6905
5 files changed
+129 -73

No files matched your search

-1
View File
@@ -296,7 +296,6 @@ func (g *gen) visitVars(b *buffer, block []*a.Node, depth uint32, f func(*gen, *
return nil
}
// TODO: initBoolTypedVars is never used.
func (g *gen) writeResumeSuspend1(b *buffer, n *a.Var, suspend bool, initBoolTypedVars bool) error {
local := fmt.Sprintf("%s%s", vPrefix, n.Name().Str(g.tm))