diff options
| author | griesemer <gri@golang.org> | 2017-11-01 17:38:07 -0700 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2017-11-02 23:53:38 +0000 |
| commit | 25159d3af98335cfe574c66224a8c31df25ecc15 (patch) | |
| tree | ef1670c4e986484f404b5aa7df676492fa96ad1c /src/runtime/testdata/testprog | |
| parent | aec345d638fa624f08b7d758e9e173897edc80e8 (diff) | |
| download | go-25159d3af98335cfe574c66224a8c31df25ecc15.tar.xz | |
cmd/compile: avoid spurious errors for invalid map key types
Instead of trying to validate map key types eagerly in some
cases, delay their validation to the end of type-checking,
when we all type information is present.
Passes go build -toolexec 'toolstash -cmp' -a std .
Fixes #21273.
Fixes #21657.
Change-Id: I532369dc91c6adca1502d6aa456bb06b57e6c7ff
Reviewed-on: https://go-review.googlesource.com/75310
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/runtime/testdata/testprog')
0 files changed, 0 insertions, 0 deletions
