1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:14:43 -07:00
go/importer
Alan Donovan e1e9089196 go.tools/importer: change type of print{,ln} built-ins.
Before: func(any, ...interface{}).
After:  func(any, ...any)

They are no longer variadic, so you can't write print(x, y...).

(Recall that print(1) and print(interface{}(1)) behave
differently and that this is useful.)

Fixes bug 6560

R=gri
CC=golang-dev
https://golang.org/cl/14455054
2013-10-10 13:33:29 -04:00
..
testdata go.tools/importer: add unit test of LoadInitialPackages. 2013-09-10 10:39:51 -04:00
importer_test.go go.tools/importer: add unit test of LoadInitialPackages. 2013-09-10 10:39:51 -04:00
importer.go go.tools/importer: expose CreatePackage method. 2013-10-10 12:37:49 -04:00
pkginfo.go go.tools/importer: change type of print{,ln} built-ins. 2013-10-10 13:33:29 -04:00
source_test.go go.tools/importer: expose CreatePackage method. 2013-10-10 12:37:49 -04:00
source.go go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00
util.go go.tools: clear DeclarationErrors flag; it's redundant w.r.t go/types checking. 2013-10-08 10:34:36 -04:00