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

go/types, types2: need equivalent support for compiler -lang flag #43108

Closed
griesemer opened this issue Dec 9, 2020 · 1 comment
Closed

go/types, types2: need equivalent support for compiler -lang flag #43108

griesemer opened this issue Dec 9, 2020 · 1 comment
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@griesemer
Copy link
Contributor

go/types and types2 don't have a Config flag to control the accepted version (analogous to the compiler's -lang flag). This prevents correct type-checking of some tests, notably:

$GOROOT/test/fixedbugs/issue31747.go 
$GOROOT/test/fixedbugs/issue34329.go 

cc: @findleyr

@griesemer griesemer added the NeedsFix The path to resolution is known, but the work has not been done. label Dec 9, 2020
@griesemer griesemer added this to the Go1.17 milestone Dec 9, 2020
@griesemer griesemer self-assigned this Dec 9, 2020
@griesemer
Copy link
Contributor Author

Duplicate of #31793.

@golang golang locked and limited conversation to collaborators Feb 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

2 participants