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
What steps will reproduce the problem?
1. Run http://play.golang.org/p/uMX6Y4ndl9
What is the expected output?
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x28 pc=0x400cfc]
...
What do you see instead?
%v(PANIC=runtime error: invalid memory address or nil pointer dereference)
Which operating system are you using?
Linux
Which version are you using? (run 'go version')
8g version go1.0.1
8g version weekly.2012-03-27 +95456588a8e1
The text was updated successfully, but these errors were encountered:
It is intentional that fmt turns panic while evaluating arguments into
a descriptive string. That is usually more useful than not printing
anything and triggering a backtrace, especially when the print is
already trying to report an error.
I suppose we could change the message used in the panic to include the
pc. It will never include a full trace as in your expected output.
The text was updated successfully, but these errors were encountered: