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
The following source code leads to the misleading 6g compiler error:
<epoch>: undefined: T
Uncommenting the declaration of type T leads to correct compilation.
>>>>>>>>>>>
package main
//type T int
func main() {}
func (t *T) F() {}
<<<<<<<<<<<<<<
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
OS X 10.6.6
Which revision are you using? (hg identify)
f4f1a3a27d9d