]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: adjust errorcalls_test and apply it
authorRobert Griesemer <gri@golang.org>
Mon, 10 Oct 2022 20:22:16 +0000 (13:22 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 11 Oct 2022 20:50:09 +0000 (20:50 +0000)
commit140bc24445f3c86b61bfb4d924e1e26f477574a2
tree757aa5ef1faf865f2188ac52536488b1893553ad
parent2dbc5736b269cba7c0fcd10a6f60fb49fe927d38
cmd/compile/internal/types2: adjust errorcalls_test and apply it

Checker.errorf calls now have an error code and thus require at
least 4 arguments.

Change-Id: Id01c30d5d3cc747ab0b3ba4001e88985192f2d80
Reviewed-on: https://go-review.googlesource.com/c/go/+/441957
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/types2/errorcalls_test.go