diff options
author | Matthew Dempsky <mdempsky@google.com> | 2021-08-02 18:01:46 -0700 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2021-08-03 02:42:15 +0000 |
commit | 1b193598b3a4ad3138626ca97bca752e9e63b21c (patch) | |
tree | 2174bb8e3d153c5e67292600bdb3a93687ad7860 /src/cmd/compile/internal/ssa/export_test.go | |
parent | e56234a30544c043b45601ce01601e3a03e00d63 (diff) | |
download | go-1b193598b3a4ad3138626ca97bca752e9e63b21c.tar.gz go-1b193598b3a4ad3138626ca97bca752e9e63b21c.zip |
[dev.typeparams] cmd/compile: fail early on unexpected types2.Invalid
In unified IR, fail right away if we find a types2.Invalid while
writing out the package. This provides a clearer error message for
https://github.com/golang/go/issues/25838#issuecomment-448746670.
Updates #25838.
Change-Id: I6902fdd891fc31bbb832b6fdba00eca301282409
Reviewed-on: https://go-review.googlesource.com/c/go/+/338973
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/ssa/export_test.go')
0 files changed, 0 insertions, 0 deletions