1
0
mirror of https://github.com/golang/go synced 2024-10-05 02:31:21 -06:00
go/src/pkg
Alan Donovan a17c46169f go/types: include package import path in NamedType.String().
This avoids ambiguity and makes the diagnostics closer to
those issued by gc, but it is more verbose since it qualifies
intra-package references.

Without extra context---e.g. a 'from *Package' parameter to
Type.String()---we are forced to err on one side or the other.

Also, cosmetic changes to exp/ssa:
- Remove package-qualification workaround in Function.FullName.
- Always set go/types.Package.Path field to the import path,
  since we know the correct path at this point.
- In Function.DumpTo, show variadic '...' and result type info,
  and delete now-redundant "# Type: " line.

R=gri
CC=golang-dev
https://golang.org/cl/7325051
2013-02-19 14:42:05 -05:00
..
archive archive/tar: add Header.FileInfo method. Add more cases to FileInfoHeader. 2013-02-14 17:32:48 +11:00
bufio cmd/gofmt, bufio, image: Consistency and error handling. 2013-01-07 11:15:53 +11:00
builtin builtin: correct comment on builtin function delete(). 2012-12-14 09:13:42 -08:00
bytes bytes: annotate assembly functions with //go:noescape 2013-02-10 00:08:30 +08:00
compress all: use t.Skip{,f} 2013-01-24 17:32:10 +11:00
container src: use internal tests if possible 2013-02-19 10:02:01 -05:00
crypto src: use internal tests if possible 2013-02-19 10:02:01 -05:00
database/sql database/sql: fix doc references to old package name 2013-02-13 18:47:25 -08:00
debug debug/dwarf: add flag_present attribute encoding. 2013-02-20 00:58:31 +08:00
encoding encoding/binary: make type error more specific 2013-02-15 13:12:28 -05:00
errors
exp go/types: include package import path in NamedType.String(). 2013-02-19 14:42:05 -05:00
expvar all: make tests able to run multiple times. 2013-01-27 00:24:09 +01:00
flag all: make tests able to run multiple times. 2013-01-27 00:24:09 +01:00
fmt testing: add AllocsPerRun 2013-02-02 22:52:29 -05:00
go go/types: include package import path in NamedType.String(). 2013-02-19 14:42:05 -05:00
hash build: make int 64 bits on amd64 2012-09-24 20:57:01 -04:00
html html/template: remove noescape support 2013-01-18 10:30:12 +11:00
image all: use io.ByteWriter now that it exists 2013-01-08 12:15:19 -08:00
index/suffixarray
io src: use internal tests if possible 2013-02-19 10:02:01 -05:00
log log/syslog: fix channel race in test. 2013-02-15 11:07:31 +11:00
math math/big: make tests faster by reducing coverage in --test.short mode. 2013-01-30 18:19:58 -05:00
mime mime: do not test for .wav on windows 2013-02-15 16:55:51 +11:00
net src: use internal tests if possible 2013-02-19 10:02:01 -05:00
old/netchan gofmt: apply gofmt -w src misc 2012-10-30 13:38:01 -07:00
os os: point users of ProcessState.SysUsage to getrusage(2) 2013-02-15 17:11:13 -05:00
path path/filepath: add examples for SplitList and Rel. 2013-02-19 10:41:35 -08:00
reflect reflect: document tie-breaking in Select 2013-02-19 10:13:53 -05:00
regexp regexp: update comment on (*Regexp).Longest 2013-02-04 15:57:32 +11:00
runtime runtime: replace bubble sort with heap sort in select 2013-02-19 10:15:13 -05:00
sort sort: use fewer comparisons when choosing pivot. 2013-02-14 15:04:22 +11:00
strconv testing: add AllocsPerRun 2013-02-02 22:52:29 -05:00
strings strings: faster Count, Index 2013-02-19 10:36:15 -05:00
sync sync/atomic: support NetBSD/ARM (ARM11 or above) 2013-02-13 01:04:13 +08:00
syscall syscall: don't make //sys lines be doc comments 2013-02-14 11:23:58 -08:00
testing testing: be explicit about use of b.N 2013-02-09 13:43:15 -05:00
text text/template/parse: don't show itemType in error messages 2013-01-22 02:48:40 +08:00
time time: fix error message from Parse 2013-02-04 00:00:36 -05:00
unicode utf8: fix typo. 2013-01-09 11:07:13 -08:00
unsafe unsafe: fix a typo 2012-10-19 16:35:15 +11:00