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

Check if fixity is unknown in CI #24

Open
WoWaster opened this issue Sep 17, 2024 · 0 comments
Open

Check if fixity is unknown in CI #24

WoWaster opened this issue Sep 17, 2024 · 0 comments
Labels
bug Something isn't working infra Infrastructure-related task

Comments

@WoWaster
Copy link
Member

WoWaster commented Sep 17, 2024

When using custom prelude, fourmolu often has to guess operator's fixity. This is bad because it messes up code formatting. For example, $ will be infixl 9 operator instead of infixr 0.
This can be detected with -d flag and grepping for Provenance: Nothing and should be fatal to CI step.

@WoWaster WoWaster added bug Something isn't working infra Infrastructure-related task labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working infra Infrastructure-related task
Projects
None yet
Development

No branches or pull requests

1 participant