]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: cleanup panic calls
authorRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 00:44:49 +0000 (20:44 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 13:38:52 +0000 (13:38 +0000)
commita192ef8ac47679ca46a41fa190af1048e7008b2b
treea192ec8ae702cff4171d136cab184307d7d9e8d3
parent11a1f37b076122ce6b669f1a5c7563a339087b17
go/types: cleanup panic calls

This is a port of CL 339969 to go/types. It differs slightly in
errors.go, due to the differing API.

Change-Id: Ie2bf84ebf312ea3872ee6706615dfc6169a32405
Reviewed-on: https://go-review.googlesource.com/c/go/+/342431
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/decl.go
src/go/types/errors.go
src/go/types/lookup.go
src/go/types/named.go
src/go/types/signature.go
src/go/types/stmt.go
src/go/types/typeparam.go
src/go/types/typeset.go
src/go/types/typestring.go
src/go/types/union.go
src/go/types/universe.go