tools/refactor/eg/testdata/A2.golden

16 lines
215 B
Plaintext

// +build ignore
package A2
// This refactoring causes addition of "errors" import.
// TODO(adonovan): fix: it should also remove "fmt".
import (
myfmt "fmt"
"errors"
)
func example(n int) {
errors.New("")
}