testing,runtime: calling t.Helper()
in a goroutine logs asm file names, not the one from the call site
#58545
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
1.20.1 is the latest release at the moment.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Calling
t.Helper()
in helper that spawns a goroutine that callst.Log()
in that goroutine doesn't account for thet.Helper()
call - that is expected, not the samefunc
.Calling
t.Helper()
andt.Log()
inside the goroutine spawned in a function logs asm related file name - unexpected.What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: