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
{{ message }}
Repository navigation
cmd/compile: generate more error message for broken type #33947
With that change, gc will generate more error for test/fixedbugs/issue5172.go:
package main
type foo struct {
x bar // ERROR "undefined"
}
func main() {
var f foo
go f.bar() // GCCGO_ERROR "undefined"
defer f.bar() // GCCGO_ERROR "undefined"
}
OTOH, the same behavior with gccgo. #5172 is long time ago and I don't get full context about it.
Activity
gopherbot commentedon Aug 29, 2019
Change https://golang.org/cl/191944 mentions this issue:
cmd/compile: emit error message for broken typecmd/compile: emit error message for broken type
cmd/compile: emit error message for broken type