1
0
mirror of https://github.com/golang/go synced 2024-11-17 07:24:53 -07:00
go/src
Kunpei Sakai 30673769ed cmd/compile: fix typechecking in finishcompare
Previously, finishcompare just used SetTypecheck, but this didn't
recursively update any untyped bool typed subexpressions. This CL
changes it to call typecheck, which correctly handles this.

Also cleaned up outdated code for simplifying logic.

Updates #23834

Change-Id: Ic7f92d2a77c2eb74024ee97815205371761c1c90
Reviewed-on: https://go-review.googlesource.com/97035
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2018-02-26 22:10:51 +00:00
..
archive archive/zip: improve Writer.Create documentation on how to add directories 2018-02-26 19:58:48 +00:00
bufio
builtin
bytes
cmd cmd/compile: fix typechecking in finishcompare 2018-02-26 22:10:51 +00:00
compress
container
context
crypto crypto/x509: tighten EKU checking for requested EKUs. 2018-02-23 17:07:21 +00:00
database/sql database/sql: add String method to IsolationLevel 2018-02-22 15:17:52 +00:00
debug
encoding
errors
expvar
flag
fmt
go go/types: type-check embedded methods in correct scope (regression) 2018-02-26 18:46:26 +00:00
hash
html
image
index/suffixarray
internal net, internal/poll, net/internal/socktest: use SOCK_{CLOEXEC,NONBLOCK} accept4/socket flags on OpenBSD 2018-02-26 16:59:38 +00:00
io
log
math math/big: speed-up addMulVVW on amd64 2018-02-24 00:13:03 +00:00
mime
net net, internal/poll, net/internal/socktest: use SOCK_{CLOEXEC,NONBLOCK} accept4/socket flags on OpenBSD 2018-02-26 16:59:38 +00:00
os os: unify supportsCloseOnExec definition 2018-02-26 17:10:24 +00:00
path
plugin
reflect reflect: avoid calling common if type is known to be *rtype 2018-02-22 07:18:15 +00:00
regexp regexp: Regexp shouldn't keep references to inputs 2018-02-23 16:58:48 +00:00
runtime runtime: don't check for String/Error methods in printany 2018-02-23 22:39:46 +00:00
sort
strconv
strings strings: add Builder benchmarks comparing bytes.Buffer and strings.Builder 2018-02-26 18:00:12 +00:00
sync
syscall syscall: remove/update outdated TODO comments 2018-02-26 17:54:31 +00:00
testing
text text/template: fix the documentation of the block action 2018-02-21 20:57:47 +00:00
time time: avoid unnecessary type conversions 2018-02-26 16:14:51 +00:00
unicode
unsafe unsafe: fix reference to string header 2018-02-26 18:35:46 +00:00
vendor/golang_org/x
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat build: small cleanup in error message in make.bat 2018-02-26 10:27:14 +00:00
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc