Skip to content
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/constant: request: support more operators at BinaryOp #40049

Closed
hajimehoshi opened this issue Jul 5, 2020 · 1 comment
Closed

go/constant: request: support more operators at BinaryOp #40049

hajimehoshi opened this issue Jul 5, 2020 · 1 comment

Comments

@hajimehoshi
Copy link
Member

For example, token.EQL is not accepted by BinaryOp. No operators for comparison are supported. Would it make sense to support such binary operators?

@hajimehoshi
Copy link
Member Author

Sorry I missed constant.Compare

@golang golang locked and limited conversation to collaborators Jul 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants