]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: add a test for argument error unwrapping
authorRobert Findley <rfindley@google.com>
Wed, 22 Sep 2021 00:58:33 +0000 (20:58 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 22 Sep 2021 13:30:35 +0000 (13:30 +0000)
commite925c4640d52587e6657bccc40899888b657e6df
tree20d1ffe693cd0227cfbc7adcc9d7a05c640d2522
parent7158ae4e32894cf7050eef287c5e9818b9fb9ce1
go/types: add a test for argument error unwrapping

Add a sanity-check test that ArgumentErrors unwrap their inner Err.

Change-Id: I5a670a490deeabc03a64e42b3843f79d622ba958
Reviewed-on: https://go-review.googlesource.com/c/go/+/351338
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/api_test.go