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
Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem. Thanks.
What steps will reproduce the problem?
1. Compile attached source that attempts to print the results of waiting on a process
2. Run the program
3. See the panic
What is the expected output?
<nil>
What do you see instead?
Stack trace
Which compiler are you using (5g, 6g, 8g, gccgo)?
8g and 6g
Which operating system are you using?
Which revision are you using? (hg identify)
95d2ce135523+ (release-branch.r57) release/release.r57.1
Please provide any additional information below.
I think this is because the return value of Wait is a *Waitmsg, and can be null, but the
String() function is defined on Waitmsg (not a pointer to). The implicit dereference is
what gets you.
Attachments:
The text was updated successfully, but these errors were encountered: