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: tiny float constants truncated to 0 in (misleading) error messages #13559

Closed
griesemer opened this issue Dec 10, 2015 · 1 comment
Milestone

Comments

@griesemer
Copy link
Contributor

The following program:

package p
const _ int = 1e-10000

produces a misleading error message:

foo.go:2: constant 0 truncated to integer
@griesemer griesemer self-assigned this Dec 10, 2015
@griesemer griesemer added this to the Go1.6 milestone Dec 10, 2015
@gopherbot
Copy link

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

@golang golang locked and limited conversation to collaborators Dec 14, 2016
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