-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: adjust type checking of string(1 << s) pending issue #45114 #45117
Comments
If we disallow this, re-enable the disabled test in |
Change https://golang.org/cl/303094 mentions this issue: |
Temporarily disable a questionable test case in fixedbugs/bug193.go and enable the test as a whole. See the issues below for details. Updates #45114. Updates #45117. Change-Id: I1de6f8d79b592eeeec139cd92b6c9cac56a9a74b Reviewed-on: https://go-review.googlesource.com/c/go/+/303094 Trust: Robert Griesemer <[email protected]> Reviewed-by: Emmanuel Odeke <[email protected]>
Change https://golang.org/cl/379256 mentions this issue: |
Change https://golang.org/cl/379274 mentions this issue: |
Slightly better for cases such as string(1 << s). Leaves type-checker tests alone for now because there are multiple dozens. For #45117. Change-Id: I47b314c713fabe424c2158674bf965416a8a6f5c Reviewed-on: https://go-review.googlesource.com/c/go/+/379274 Trust: Robert Griesemer <[email protected]> Reviewed-by: Robert Findley <[email protected]>
For golang#45114. Fixes golang#45117. Change-Id: I71d6650ae2c4c06952fce19959120f15f13c08a2 Reviewed-on: https://go-review.googlesource.com/c/go/+/379256 Trust: Robert Griesemer <[email protected]> Reviewed-by: Robert Findley <[email protected]>
Slightly better for cases such as string(1 << s). Leaves type-checker tests alone for now because there are multiple dozens. For golang#45117. Change-Id: I47b314c713fabe424c2158674bf965416a8a6f5c Reviewed-on: https://go-review.googlesource.com/c/go/+/379274 Trust: Robert Griesemer <[email protected]> Reviewed-by: Robert Findley <[email protected]>
Reminder issue: Currently both
go/types
andtypes2
acceptstring(1 << s)
while the compilers don't.For details see #45114.
cc: @findleyr
The text was updated successfully, but these errors were encountered: