We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
gccgo accepts the following program:
package a var f = ^true
While gc and go/types say:
go.go:2:10: invalid operation: operator ^ not defined for true (untyped bool constant) go.go:2: invalid operation: ^ untyped bool
gcc version 6.0.0 2015070 (experimental) (GCC)
The text was updated successfully, but these errors were encountered:
@paranoiacblack
Sorry, something went wrong.
CL https://golang.org/cl/13790 mentions this issue.
golang/gofrontend@d5e6af4
compiler: Disallow use of unary ^ on booleans.
b3b1474
Fixes golang/go#11529. Reviewed-on: https://go-review.googlesource.com/13790 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227201 138bc75d-0d04-0410-961f-82ee72b054a4
No branches or pull requests
gccgo accepts the following program:
While gc and go/types say:
gcc version 6.0.0 2015070 (experimental) (GCC)
The text was updated successfully, but these errors were encountered: