Skip to content

Be more strict and prevent incomplete patterns #2047

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

amitaibu
Copy link
Collaborator

fixes #1681

@amitaibu
Copy link
Collaborator Author

I didn't get any error when running devenv up locally—it's as if it doesn't have any effect. Let's see if GH actions will get an error.

@amitaibu
Copy link
Collaborator Author

@mpscholten Errors on GH actions don't seem to be related.

image

I believe it's coming from master, but I don't understand why it sometimes works on master and sometimes doesn't.

@mpscholten
Copy link
Member

For it to work inside the app itself we need to add it to https://github.com/digitallyinduced/ihp/blob/master/ihp-ide/lib/IHP/applicationGhciConfig aswell 👍

@mpscholten
Copy link
Member

I tried to reproduce the tests error but it works locally when checking out this branch. So let's ignore that for now

@georgefst
Copy link

Personally, I'm of the view that -Werror should only be enabled on CI or similar, and gets in the way during development. I like to be able to test incomplete code, and often go in the opposite direction, enabling -fdefer-typed-holes and even -fdefer-type-errors.

Point is, some users would complain about this becoming the default, especially if it's hard to turn off. Perhaps the focus should instead be on making it easy to configure. It's not currently clear how to enable GHC options in IHP at all (see also #1455 (comment)).

@mpscholten
Copy link
Member

@georgefst agree 👍

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

Successfully merging this pull request may close these issues.

Be more strict and prevent incomplete patterns
3 participants