1
0
mirror of https://github.com/golang/go synced 2024-11-06 01:36:10 -07:00
go/src
Matthew Dempsky cc422e64d0 cmd/compile: fix ICE due to missing inline function body
For golang.org/cl/74110, I forgot that you can use range-based for
loops to extract key values from a map value.

This wasn't a problem for the binary format importer, because it was
more tolerant about missing inline function bodies. However, the
indexed importer is more particular about this.

We could potentially just make it more lenient like the binary
importer, but tweaking the logic here is easy enough and seems like
the preferable solution.

Fixes #26341.

Change-Id: I54564dcd0be60ea393f8a0f6954b7d3d61e96ee5
Reviewed-on: https://go-review.googlesource.com/123475
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2018-07-12 00:13:37 +00:00
..
archive archive/zip: warn about FileHeader.Name being unvalidated on read 2018-06-13 21:57:41 +00:00
bufio bufio: clarify SplitFunc docs for nil token 2018-06-13 21:43:06 +00:00
builtin
bytes bytes, strings: fix comparison of long byte slices on s390x 2018-06-29 20:48:07 +00:00
cmd cmd/compile: fix ICE due to missing inline function body 2018-07-12 00:13:37 +00:00
compress
container
context context: add docs to ExampleWithValue 2018-06-12 22:33:54 +00:00
crypto doc: update the minimum support Windows version 2018-07-11 22:05:38 +00:00
database/sql
debug debug/elf,macho,pe: support compressed DWARF 2018-06-19 22:13:51 +00:00
encoding encoding/gob: correct issue number typo in comment 2018-06-13 05:33:59 +00:00
errors
expvar
flag flag: add a Value example 2018-06-21 23:32:53 +00:00
fmt
go go/types: ignore artificial cycles introduced via method declarations 2018-07-10 16:36:50 +00:00
hash
html html/template: ignore untyped nil arguments to default escapers 2018-07-09 21:54:35 +00:00
image all: clean up some Deprecated comments 2018-07-06 17:40:56 +00:00
index/suffixarray
internal doc: update the minimum support Windows version 2018-07-11 22:05:38 +00:00
io
log
math math/big: handle negative exponents in Exp 2018-06-14 22:26:30 +00:00
mime mime/quotedprintable: accept bytes >= 0x80 2018-06-27 17:00:08 +00:00
net doc: update the minimum support Windows version 2018-07-11 22:05:38 +00:00
os internal/poll: don't take read lock in SetBlocking 2018-07-11 00:34:18 +00:00
path
plugin
reflect reflect: remove struct tags from unexported types 2018-06-28 23:06:00 +00:00
regexp regexp: revert "use sync.Pool to cache regexp.machine objects" 2018-07-09 15:12:53 +00:00
runtime doc: update the minimum support Windows version 2018-07-11 22:05:38 +00:00
sort
strconv
strings strings: do much less redundant testing in TestCompareStrings 2018-07-02 14:39:29 +00:00
sync sync: fix deficiency in RWMutex race annotations 2018-06-22 14:43:09 +00:00
syscall syscall/js: improve panic messages 2018-07-09 23:04:30 +00:00
testing testing/cover: improve comments on CoverBlock 2018-07-01 08:07:47 +00:00
text html/template: ignore untyped nil arguments to default escapers 2018-07-09 21:54:35 +00:00
time time: add clarification to Timer.Stop documentation 2018-07-11 22:06:22 +00:00
unicode unicode: fix SpecialCase to follow its docs & respect explict no-op mappings 2018-06-17 08:48:39 +00:00
unsafe
vendor/golang_org/x vendor: update vendored x/net/http/httpproxy 2018-07-09 19:35:21 +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 make.bash: don't pass GOOS and GOARCH to cmd/go when finding GOROOT_BOOTSTRAP 2018-06-20 16:04:33 +00:00
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash runtime/cgo: Add initial NetBSD Thread Sanitizer support 2018-07-10 23:14:31 +00:00
race.bat
run.bash
run.bat
run.rc