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?
to your account
https://play.golang.org/p/WCktUidLyc_3 is accepted while the equivalent program https://play.golang.org/p/Z-B9rBhYILd fails with an error. The only difference is the order of the method declarations.
Esoteric case; recording this so we're aware of it.
The text was updated successfully, but these errors were encountered:
Hey @andybons, that first snippet doesn't load.
Sorry, something went wrong.
Yes it does. The trailing underscore gets stripped with some URL parsers (like in Gmail or GitHub). Make sure it’s there and it should load.
Maybe we shouldn't generate snippets with trailing underscores then.
(Seems to work with gccgo.)
Pushed new version of play and updated original comment with link that is properly linkified by GitHub. Sorry to derail this bug, Robert.
No branches or pull requests