1
0
mirror of https://github.com/golang/go synced 2024-11-12 08:10:21 -07:00
go/src
Robert Griesemer 43469ddf74 go/types: remove explicit path parameter from most type-checker functions (cleanup)
Now that most of the type-checker is using the object-coloring mechanism
to detect cycles, remove the explicit path parameter from the functions
that don't rely on it anymore.

Some of the syntactic-based resolver code (for aliases, interfaces)
still use an explicit path; leaving those unchanged for now.

The function cycle was moved from typexpr.go (where it is not used
anymore) to resolver.go (where it's still used). It has not changed.

Fixes #25773.

Change-Id: I2100adc8d66d5da9de9277dee94a1f08e5a88487
Reviewed-on: https://go-review.googlesource.com/130476
Reviewed-by: Alan Donovan <adonovan@google.com>
2018-08-30 22:54:34 +00:00
..
archive archive/tar: remore redundant parens in type expressions 2018-08-21 01:47:17 +00:00
bufio bufio: avoid rescanning buffer multiple times in ReadSlice 2018-08-22 17:06:28 +00:00
builtin
bytes bytes: add example for Buffer.Len 2018-08-30 19:10:14 +00:00
cmd cmd/compile: make math/bits.RotateLeft* an intrinsic on amd64 2018-08-30 22:48:28 +00:00
compress
container container/heap: clarify that Remove returns the removed element 2018-08-20 18:05:11 +00:00
context context: don't talk about tools that don't exist 2018-08-22 22:11:24 +00:00
crypto crypto/x509: clarify docs for SystemCertPool 2018-08-30 22:13:10 +00:00
database/sql database/sql: fix driverStmt.Close() comment typo 2018-08-03 03:58:03 +00:00
debug debug/pe: support windows/arm 2018-08-20 18:12:47 +00:00
encoding encoding/json: fix UnmarshalTypeError without field and struct values 2018-08-28 16:00:33 +00:00
errors
expvar
flag
fmt fmt: remove spelling mistake in example 2018-08-30 21:59:03 +00:00
go go/types: remove explicit path parameter from most type-checker functions (cleanup) 2018-08-30 22:54:34 +00:00
hash hash/crc64: lazily initialize slice8Tables 2018-08-21 04:50:21 +00:00
html html/template: add an example for the Delims method 2018-08-30 19:36:15 +00:00
image all: clean up some Deprecated comments 2018-07-06 17:40:56 +00:00
index/suffixarray
internal internal/syscall/unix: remove unnecessary empty.s 2018-08-28 14:05:21 +00:00
io ghchinoy: add example for ioutil.WriteFile 2018-08-30 18:38:34 +00:00
log
math math: add Round and RoundToEven examples 2018-08-28 05:22:41 +00:00
mime mime/quotedprintable: accept bytes >= 0x80 2018-06-27 17:00:08 +00:00
net net: refactor readerAtEOF splice test 2018-08-30 20:24:01 +00:00
os os/exec: pass ExitCode tests on Plan 9 2018-08-28 14:10:31 +00:00
path path/filepath: fix Join with Windows drive letter 2018-08-26 04:23:19 +00:00
plugin plugin: remove unused func 2018-08-22 16:29:03 +00:00
reflect reflect: use a bigger object when we need a finalizer to run 2018-08-24 22:17:54 +00:00
regexp regexp/syntax: don't do both linear and binary sesarch in MatchRunePos 2018-08-22 17:11:57 +00:00
runtime runtime/pprof: compute memory profile block size using sampled values 2018-08-29 22:57:14 +00:00
sort
strconv strconv: use bytealg implementation of IndexByteString 2018-08-22 17:04:01 +00:00
strings strings: use Builder in Repeat to avoid an allocation 2018-08-22 16:40:21 +00:00
sync cmd/vet,sync: check lock values more precisely 2018-07-14 06:48:21 +00:00
syscall syscall: skip TestSyscallNoError on rooted android/arm 2018-08-30 11:14:39 +00:00
testing testing: exit with error if testing.Short is called before flag.Parse 2018-08-20 21:51:11 +00:00
text text/template: fix newline counting in raw strings 2018-08-29 20:36:09 +00:00
time time: add example for LoadLocation 2018-08-30 19:38:38 +00:00
unicode
unsafe
vendor/golang_org/x vendor: update golang.org/x/net/http2/hpack 2018-08-01 20:05:31 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
make.bat src/make.bat: add missing go.exe extension 2018-08-25 22:42:46 +00:00
Make.dist
make.rc cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
naclmake.bash all: use consistent shebang line across all shell scripts 2018-08-22 16:41:11 +00:00
nacltest.bash all: use consistent shebang line across all shell scripts 2018-08-22 16:41:11 +00:00
race.bash runtime/cgo: Add initial NetBSD Thread Sanitizer support 2018-07-10 23:14:31 +00:00
race.bat cmd/dist: fix compilation on windows 2018-08-25 22:39:17 +00:00
run.bash cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
run.bat cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00
run.rc cmd/go: add $GOFLAGS environment variable 2018-08-01 00:35:21 +00:00