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/compile: misleading error message for real/imag of pointer to array argument #20602

Closed
griesemer opened this issue Jun 7, 2017 · 1 comment
Milestone

Comments

@griesemer
Copy link
Contributor

https://play.golang.org/p/9L71iPkoOm produces

tmp/sandbox063583806/main.go:4: invalid argument p (type [1]complex128) for real
tmp/sandbox063583806/main.go:5: invalid argument p (type [1]complex128) for imag

but the actual argument type is *[1]complex128 not [1]complex128.

@griesemer griesemer added this to the Go1.9 milestone Jun 7, 2017
@griesemer griesemer self-assigned this Jun 7, 2017
@gopherbot
Copy link

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

@golang golang locked and limited conversation to collaborators Jun 7, 2018
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

2 participants