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

don't print fun in record expressions with Pexp_fun values #1588

Merged
merged 2 commits into from
Nov 2, 2017

Conversation

IwanKaramazow
Copy link
Contributor

@IwanKaramazow IwanKaramazow commented Nov 2, 2017

fixes #1587

/* before */
{contents: fun () => (() : unit)};

/* after */
{contents: () => (() : unit)};

@chenglou
Copy link
Member

chenglou commented Nov 2, 2017

Awesome as always

@chenglou chenglou merged commit 2b38743 into reasonml:master Nov 2, 2017
chenglou added a commit that referenced this pull request Nov 2, 2017
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.

Annotated return values cause refmt to print "fun" keyword.
3 participants