Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: caller returns different result after we upgrade go1.11.6 to go1.12.1 #31185
What version of Go are you using (
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.