]> Cypherpunks repositories - gostls13.git/commit
go/types: add -halt flag to ease debugging in test mode
authorRobert Griesemer <gri@golang.org>
Tue, 13 Aug 2019 19:56:51 +0000 (12:56 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 26 Aug 2019 16:36:10 +0000 (16:36 +0000)
commit89f02eb8370e31907d33e88f3e25de5176fe84f0
tree2954fddedffaaadeb3771bc90e076dac64d10f60
parent8b03a3992bc755eadbccc10d97adc21d0b229401
go/types: add -halt flag to ease debugging in test mode

Specifying -halt in `go test -run Check$ -halt` causes a panic
upon encountering the first error. The stack trace is useful to
determine what code path issued the error.

Change-Id: I2e17e0014ba87505b01786980b98565f468065bf
Reviewed-on: https://go-review.googlesource.com/c/go/+/190257
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/go/types/check_test.go