~john-koepi/ubuntu/trusty/golang/default

« back to all changes in this revision

Viewing changes to src/cmd/gofix/testdata/reflect.print.go.out

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-08-03 17:04:59 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110803170459-wzd99m3567y80ila
Tags: 1:59-1
* Imported Upstream version 59
* Refresh patches to a new release
* Fix FTBFS on ARM (Closes: #634270)
* Update version.bash to work with Debian packaging and not hg
  repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
// Errorf formats according to a format specifier and returns the string 
186
186
// converted to an os.ErrorString, which satisfies the os.Error interface.
187
187
func Errorf(format string, a ...interface{}) os.Error {
188
 
        return os.ErrorString(Sprintf(format, a...))
 
188
        return os.NewError(Sprintf(format, a...))
189
189
}
190
190
 
191
191
// These routines do not take a format string