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
proposal: spec: non-empty interface type for multiple case in type switch #460
Comments
Labels changed: added languagechange. Owner changed to g...@golang.org. Status changed to LongTerm. |
Adding code example
Output |
@CostaOnGit I'm sorry, I don't understand your example. Given two different cases, what else could the type be? Are you suggesting that we should implicitly copy the code for each case? |
This suggestion seems to imply one of
None of these seem like likely changes to the language. I'm going to close this. If you disagree, please comment. Thanks. |
Attachments:
The text was updated successfully, but these errors were encountered: