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

Chore: update extensions list #1677

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michivi
Copy link
Contributor

@michivi michivi commented Apr 16, 2023

This PR:

@@ -121,8 +121,8 @@ library
, ConstraintKinds
, DataKinds
, DeriveDataTypeable
, DeriveFunctor
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did this need to get turned on?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't actually need it here. But I thought I'd stay consistent with the other extensions in other-extensions: if the extensions is enabled in some source file, not in Haskell2010 and not "protected" by CPP, then list it here.
Is there a different logic for listing them here?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think there is really any system to the extensions enabled. I think it would be best to fix the failing query string test on master first. But I do think this looks sensible. Is TypeFamilyDependencies added for the same reason?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. This one is explicitly enabled for servant/src/Servant/API/ResponseHeaders.hs.

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.

Check other-extensions field
2 participants