-
Notifications
You must be signed in to change notification settings - Fork 18k
regexp/syntax: make Op implement fmt.Stringer #22684
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
Comments
Sure, go ahead. |
CL welcome for Go 1.11. |
@rsc note that using stringer (the tool) in What would the best solution here be? Not using the tool, making the package depend on fmt (likely not), or making stringer use strconv instead of fmt? |
Since |
@opennota I think it is overkill for either I changed |
By all means. |
Change https://golang.org/cl/95355 mentions this issue: |
The Op type doesn't have a
String()
method, and when you print it, it's just an obscure integer. It would be helpful if it was displayed asOpNoMatch
,OpEmptyMatch
,OpLiteral
etc.The text was updated successfully, but these errors were encountered: