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 foo(~Foo.a) becoming `foo(~Fooa=Foo.a); #2136

Merged
merged 1 commit into from
Aug 16, 2018

Conversation

anmonteiro
Copy link
Member

@anmonteiro anmonteiro commented Aug 13, 2018

fixes #2128

Copy link
Contributor

@IwanKaramazow IwanKaramazow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! Let's merge @chenglou

@chenglou chenglou merged commit a5e919f into reasonml:master Aug 16, 2018
@anmonteiro anmonteiro deleted the anmonteiro/gh-2132 branch August 17, 2018 00:02
@jordwalke
Copy link
Member

Thanks. I'm not really sure this punning shortcut is all that valuable, do you? Maybe now that I know it exists, I can think of use cases for it.

@anmonteiro
Copy link
Member Author

@jordwalke the goal for the PR was preventing things like foo(~Fooa=Foo.a), although the punning is already there.

My agreement with @IwanKaramazow is we print without punning and don't really advertise this feature. So we're lenient in parsing but format to the right thing.

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

Successfully merging this pull request may close these issues.

foo(~Foo.a) becomes foo(~Fooa=Foo.a);
5 participants