diff --git a/src/cmd/compile/internal/gc/esc.go b/src/cmd/compile/internal/gc/esc.go index aa75cc7cbd2..c4e07dde182 100644 --- a/src/cmd/compile/internal/gc/esc.go +++ b/src/cmd/compile/internal/gc/esc.go @@ -775,7 +775,7 @@ func esc(e *EscState, n *Node, up *Node) { } // arguments leak out of scope // TODO: leak to a dummy node instead - // go f(x) - f and x escape + // defer f(x) - f and x escape escassignSinkNilWhy(e, n, n.Left.Left, "defer func") escassignSinkNilWhy(e, n, n.Left.Right, "defer func ...") // ODDDARG for call