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. Create the following program:
package mods
type s struct { x int }
func (a* s)
modS(newx int) { a.x = newx }
2. 8g compile the above
What is the expected output? What do you see instead?
With 8g prior to the Dec 22 release, this builds fine.
With the Dec 22 release, the following error is reported:
s3.go:3: syntax error near s
What is your $GOOS? $GOARCH?
$ echo $GOOS
linux
$ echo $GOARCH
386
Which revision are you using? (hg identify)
$ hg identify
02ea3f16b8fc+ tip
The local modifications are to allow successful build and don't impact
this bug; have attached hg diff to validate this.
by kq1quick:
Attachments:
The text was updated successfully, but these errors were encountered: