]> Cypherpunks repositories - gostls13.git/commit
go/types: add -panic flag to gotype command for debugging
authorRobert Griesemer <gri@golang.org>
Thu, 22 Feb 2018 18:15:42 +0000 (10:15 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 22 Feb 2018 21:46:19 +0000 (21:46 +0000)
commit70b09c72716798caa1b8b55baabdb6a10e275472
tree402375b76ec2f2dd6e0a786e0fd05a242b68337e
parent6450c591c7c1a67ee90bbc0df53c0997f1f683c0
go/types: add -panic flag to gotype command for debugging

Setting -panic will cause gotype to panic with the first reported
error, producing a stack trace for debugging.

For #23914.

Change-Id: I40c41cf10aa13d1dd9a099f727ef4201802de13a
Reviewed-on: https://go-review.googlesource.com/96375
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/go/types/gotype.go