We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
package main import ( "fmt" ) func main() { x := uint64(0) fmt.Println(1<<x) // 0 fmt.Println(1<<0) // 1 as expected }
The former should print 1 but 0 in GopherJS.
The text was updated successfully, but these errors were encountered:
http://www.gopherjs.org/play/#/vK0DYwzcy6 Here is the runnable snippet
Sorry, something went wrong.
Thanks for reporting @hajimehoshi.
58495a3
@hajimehoshi Thx!
Regenerate.
ca5bb72
go generate github.com/gopherjs/gopherjs.github.io/... Includes fix for gopherjs/gopherjs#418.
No branches or pull requests
The former should print 1 but 0 in GopherJS.
The text was updated successfully, but these errors were encountered: