runtime: caller returns different result after we upgrade go1.11.6 to go1.12.1 #31185
What version of Go are you using (
The text was updated successfully, but these errors were encountered:
This is a result of eliding wrapper functions in tracebacks.
There's a wrapper function
Upgrading your example to print all the skips:
If you look at all the locations reported for different skips, in 1.11 you get:
Notice the duplicate
From the user's perspective, though, the duplicate
In 1.12, you get:
Which correctly corresponds to the callsites present in the user's code.