]> Cypherpunks repositories - gostls13.git/commit
go/types: more systematic error handling in typeWriter
authorRobert Findley <rfindley@google.com>
Tue, 31 Aug 2021 22:20:49 +0000 (18:20 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 1 Sep 2021 00:37:16 +0000 (00:37 +0000)
commit1a9807906df1d1cb9955dfda387b92e03375c0f0
tree31cd401373f3abdedd5930c7e84587bceb9461d0
parent5cd1b847dc6e2d70e503fb44e27d0ece261ebfff
go/types: more systematic error handling in typeWriter

This is a port of CL 346009 to go/types. An unnecessary break statement
was removed from both the port and types2.

Change-Id: I2cc1328a61100d4b01a2d26ac7bac9044440d579
Reviewed-on: https://go-review.googlesource.com/c/go/+/346558
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/compile/internal/types2/typestring.go
src/go/types/typestring.go