mirror of
https://github.com/golang/go
synced 2024-11-05 19:46:11 -07:00
13 lines
208 B
Go
13 lines
208 B
Go
|
// +build ignore
|
||
|
|
||
|
package A2
|
||
|
|
||
|
// This refactoring causes addition of "errors" import.
|
||
|
// TODO(adonovan): fix: it should also remove "fmt".
|
||
|
|
||
|
import myfmt "fmt"
|
||
|
|
||
|
func example(n int) {
|
||
|
myfmt.Errorf("%s", "")
|
||
|
}
|