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

Add support for dhall format #284

Merged
merged 4 commits into from
Mar 23, 2024
Merged

Conversation

zzantares
Copy link
Contributor

Adds a new formatter dhall-format used for dhall.

@raxod502
Copy link
Member

Hmmm, if this formatter can automatically delete code comments, I am not sure we should enable it by default...

@raxod502
Copy link
Member

Is it supposed to be nondestructive and this is a bug? Or is it illegal to put comments in the place where there is one in your example?

@zzantares
Copy link
Contributor Author

good catch, it seems this is a bug that has been reported upstream: dhall-lang/dhall-lang#1275.

@raxod502
Copy link
Member

OK, we can add support for the formatter, but not enable it by default, since it has this destructive behavior.

@raxod502 raxod502 enabled auto-merge (squash) March 23, 2024 01:59
@raxod502 raxod502 disabled auto-merge March 23, 2024 02:16
@raxod502 raxod502 enabled auto-merge (squash) March 23, 2024 02:16
Copy link
Member

@raxod502 raxod502 left a comment

Choose a reason for hiding this comment

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

@raxod502 raxod502 merged commit 3e89e62 into radian-software:main Mar 23, 2024
4 checks passed
@zzantares zzantares deleted the dhall-format branch March 23, 2024 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants