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/internal/types2: wrong line numbers in errors for constant overflows involving iota #42992

griesemer opened this issue Dec 4, 2020 · 2 comments


Copy link

@griesemer griesemer commented Dec 4, 2020

This is the same as #42991 for go/types but for types2.

@griesemer griesemer added this to the Go1.17 milestone Dec 4, 2020
@griesemer griesemer self-assigned this Dec 4, 2020
Copy link

@gopherbot gopherbot commented Dec 4, 2020

Change mentions this issue: [dev.typeparams] cmd/compile/internal/types2: correct error position for inherited const init expression


gopherbot pushed a commit that referenced this issue Dec 7, 2020
…for inherited const init expression

Enabled fixedbugs/issue8183.go for run.go with new typechecker
now that issue is fixed.

Fixes #42992.
Updates #42991.

Change-Id: I23451999983b740d5f37ce3fa75ee756daf1a44f
Trust: Robert Griesemer <>
Reviewed-by: Robert Findley <>
Copy link
Contributor Author

@griesemer griesemer commented Dec 11, 2020

This was fixed with


@griesemer griesemer closed this Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants