Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/gc: internal compiler error: dowidth: unknown type #4429

Closed
nico opened this issue Nov 24, 2012 · 4 comments
Closed

cmd/gc: internal compiler error: dowidth: unknown type #4429

nico opened this issue Nov 24, 2012 · 4 comments
Milestone

Comments

@nico
Copy link

nico commented Nov 24, 2012

Nicos-MacBook-Pro:gong thakis$ cat tst.go
package p

type a struct {
  a int
}

func main() {
  av := a{};
  *a(av);
}
Nicos-MacBook-Pro:gong thakis$ ~/src/go/bin/go build tst.go
# command-line-arguments
./tst.go:4: internal compiler error: dowidth: unknown type: a int

This is with today's go:

Nicos-MacBook-Pro:gong thakis$ ~/src/go/bin/go version
go version devel +107e46216b58 Fri Nov 23 19:58:46 2012 +0800



It doesn't happen on http://play.golang.org/p/w-3VM1pvUZ , so this might be a recent
regression.
@minux
Copy link
Member

minux commented Nov 24, 2012

Comment 1:

Labels changed: added priority-asap, removed priority-triage.

Status changed to Accepted.

@ianlancetaylor
Copy link
Member

Comment 2:

Labels changed: added compilerbug.

@minux
Copy link
Member

minux commented Nov 24, 2012

Comment 3:

https://golang.org/cl/6850097/

Owner changed to @minux.

Status changed to Started.

@minux
Copy link
Member

minux commented Nov 26, 2012

Comment 4:

This issue was closed by revision 7c295f3.

Status changed to Fixed.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants