]> Cypherpunks repositories - gostls13.git/commit
go/types: fix errors in recording type information
authorRebecca Stambler <rstambler@golang.org>
Thu, 9 Aug 2018 16:34:19 +0000 (12:34 -0400)
committerAlan Donovan <adonovan@google.com>
Thu, 9 Aug 2018 20:13:38 +0000 (20:13 +0000)
commit79bf7955dc225a8d5b28d8201b90aa0d6b0644aa
treedd252231d8b5ba988ea580379a4a6782c6616a8f
parent28cee7075e3a2eda9504c73ad4649ffcc01b52a4
go/types: fix errors in recording type information

In my previous change, I didn't use the correct functions for continuing
to record type informations after errors. Change to using the correct
functions, and add a comment to clarify in expr.go.

Updates #22467

Change-Id: I66ebb636ceb2b994db652343430f0551db0050c3
Reviewed-on: https://go-review.googlesource.com/128835
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/go/types/api_test.go
src/go/types/assignments.go
src/go/types/call.go
src/go/types/expr.go