-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Description
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.attempt to compile (6g) the following code: package main // this fails with "invalid recursive type test1" type test1 test2 type test2 int64 // this compiles //type test2 int64 //type test1 test2 func main () { return } What is the expected output? What do you see instead? expected successful compilation; see: test.go:4: invalid recursive type test1 What is your $GOOS? $GOARCH? linux, amd64 Which revision are you using? (hg identify) 4c468c07d05c tip (this bug did not occur a few days ago, unsure which revision introduced it)