Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 230 Bytes
// +build ignore
package template
// Basic test of type-aware expression refactoring.
import (
"errors"
"fmt"
)
func before(s string) error { return fmt.Errorf("%s", s) }
func after(s string) error { return errors.New(s) }