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: compiler accepts a constant of type unsafe.Pointer #7760

Closed
ianlancetaylor opened this issue Apr 10, 2014 · 2 comments
Closed

cmd/gc: compiler accepts a constant of type unsafe.Pointer #7760

ianlancetaylor opened this issue Apr 10, 2014 · 2 comments
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.

Comments

@ianlancetaylor
Copy link
Contributor

This program

http://play.golang.org/p/RMhmf-qEhF

works with gc.  With gccgo it correctly reports

foo.go:8:7: error: invalid constant type
@gopherbot
Copy link

Comment 1:

CL https://golang.org/cl/130720043 mentions this issue.

@ianlancetaylor
Copy link
Contributor Author

Comment 2:

This issue was closed by revision 7f40e5e.

Status changed to Fixed.

@ianlancetaylor ianlancetaylor added fixed Suggested Issues that may be good for new contributors looking for work to do. labels Aug 15, 2014
@golang golang locked and limited conversation to collaborators Jun 25, 2016
wheatman pushed a commit to wheatman/go-akaros that referenced this issue Jun 25, 2018
Fixes golang#7760.

LGTM=iant
R=iant, remyoudompheng
CC=golang-codereviews
https://golang.org/cl/130720043
wheatman pushed a commit to wheatman/go-akaros that referenced this issue Jul 9, 2018
Fixes golang#7760.

LGTM=iant
R=iant, remyoudompheng
CC=golang-codereviews
https://golang.org/cl/130720043
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.
Projects
None yet
Development

No branches or pull requests

2 participants