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

Fix syntax for overloaded operator methods #193

Merged

Conversation

stakx
Copy link
Collaborator

@stakx stakx commented Jun 17, 2020

Follow-up to #49. Fixes #192.

 * `op_False`, `op_True` should get mapped to `false`, `true`.

 * Overloaded operator methods should include the `operator` keyword
   before the operator symbol.

Otherwise we end up with output that's syntactically invalid C#.
@danielmarbach
Copy link
Member

Thanks for finding and fixing it!

@danielmarbach danielmarbach merged commit a1cbb75 into PublicApiGenerator:master Jun 18, 2020
@stakx stakx deleted the overloaded-operators-syntax branch June 18, 2020 05:56
@danielmarbach danielmarbach added this to the 10.1.2 milestone Jun 18, 2020
@danielmarbach
Copy link
Member

Should go out in a few mins as 10.1.2

@sungam3r
Copy link
Member

sungam3r commented Jul 8, 2020

I never cease to be surprised at how we could have missed so many (obvious) details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syntactically incorrect output for overloaded operator methods
3 participants