You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am main.Bar, main.main call me!
I am main.trace, main.Bar call me!
/usr/lib/go-1.10/src/runtime/extern.go:212 runtime.Callers
/data/163851302034758975.go:24 main.trace
/data/163851302034758975.go:19 main.Bar
/data/163851302034758975.go:46 main.main
/usr/lib/go-1.10/src/runtime/proc.go:207 runtime.main
/usr/lib/go-1.10/src/runtime/asm_amd64.s:2362 runtime.goexit
What did you see instead?
output info by go1.16:
I am main.Bar, main.main call me!
I am main.trace, main.Bar call me!
/usr/local/go/src/runtime/extern.go:229 runtime.Callers
/usr/local/go/src/runtime/extern.go:229 runtime.Callers ---> here is where i think it should be main.trace
/data/code/learn_go/func_name.go:19 main.Bar
/data/code/learn_go/func_name.go:46 main.main
/usr/local/go/src/runtime/proc.go:234 runtime.main
/usr/local/go/src/runtime/asm_amd64.s:1372 runtime.goexit
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
output info by go1.10:
I am main.Bar, main.main call me!
I am main.trace, main.Bar call me!
/usr/lib/go-1.10/src/runtime/extern.go:212 runtime.Callers
/data/163851302034758975.go:24 main.trace
/data/163851302034758975.go:19 main.Bar
/data/163851302034758975.go:46 main.main
/usr/lib/go-1.10/src/runtime/proc.go:207 runtime.main
/usr/lib/go-1.10/src/runtime/asm_amd64.s:2362 runtime.goexit
What did you see instead?
output info by go1.16:
I am main.Bar, main.main call me!
I am main.trace, main.Bar call me!
/usr/local/go/src/runtime/extern.go:229 runtime.Callers
/usr/local/go/src/runtime/extern.go:229 runtime.Callers ---> here is where i think it should be main.trace
/data/code/learn_go/func_name.go:19 main.Bar
/data/code/learn_go/func_name.go:46 main.main
/usr/local/go/src/runtime/proc.go:234 runtime.main
/usr/local/go/src/runtime/asm_amd64.s:1372 runtime.goexit
The text was updated successfully, but these errors were encountered: