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 insert parentheses for top-level tactics holes #1352

Merged
merged 22 commits into from Feb 14, 2021

Conversation

isovector
Copy link
Collaborator

@isovector isovector commented Feb 12, 2021

We don't need to always insert parentheses! It's a good idea when grafting in general, but in the tactics plugin we know the context we're working in. This PR is a quick patch to not call the parenthesizing routines if we're already in a top-level hole.

@isovector isovector requested review from konn and jneira and removed request for konn and jneira February 12, 2021 01:57
@isovector isovector marked this pull request as ready for review February 13, 2021 00:09
Copy link
Collaborator

@konn konn left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Member

@jneira jneira left a comment

Choose a reason for hiding this comment

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

lgtm too

@jneira jneira added the merge me Label to trigger pull request merge label Feb 13, 2021
@Ailrun
Copy link
Member

Ailrun commented Feb 13, 2021

It looks like automatic merge breaks a golden file.

@isovector
Copy link
Collaborator Author

Test is fixed!

@mergify mergify bot merged commit 9a2f372 into haskell:master Feb 14, 2021
@isovector isovector deleted the no-top-parens branch May 21, 2021 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Label to trigger pull request merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants