testing: with race detector on, using TB.Helper yields the wrong line number #21631
Labels
Milestone
Comments
/cc @josharian @mdempsky @griesemer and all of the compiler squad |
This is now fixed in latest master. Not sure which commit though |
A bisect pointed, unsurprisingly, at e972095. Thanks @aclements! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using go1.9 linux/amd64.
If you call testing.TB.Helper (i.e., through the interface), it prints an autogenerated line number when running with -race:
gives
Bug pointed out on golang-nuts by @lukasmalkmus.
The text was updated successfully, but these errors were encountered: