]> Cypherpunks repositories - gostls13.git/commit
go/types: remove the report parameter from infer and inferB
authorRobert Findley <rfindley@google.com>
Wed, 15 Sep 2021 02:09:54 +0000 (22:09 -0400)
committerRobert Findley <rfindley@google.com>
Tue, 21 Sep 2021 20:13:22 +0000 (20:13 +0000)
commitfdf2053d52e122f3e8cddccdf742f94333df09a8
tree644d48d006d19dc7ffe9e75b9c52b83e474f57a7
parent6097ebe627b7bc58d63d6765abc005f548b9644c
go/types: remove the report parameter from infer and inferB

The report parameter is now always true, so we can simplify these
functions.

Change-Id: I851adad3011beef9c83172210ff5e93c624372cc
Reviewed-on: https://go-review.googlesource.com/c/go/+/350049
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/call.go
src/go/types/infer.go