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

Error on import GHC.TypeLits (type (*)) #25

Open
Tritlo opened this issue Jul 16, 2024 · 1 comment
Open

Error on import GHC.TypeLits (type (*)) #25

Tritlo opened this issue Jul 16, 2024 · 1 comment

Comments

@Tritlo
Copy link

Tritlo commented Jul 16, 2024

This fails to parse, even though it is valid Haskell:

import GHC.TypeLits (type (*))

main :: IO ()
main = return ()
@arybczak
Copy link
Owner

arybczak commented Jul 16, 2024

This is only valid if NoStarIsType is enabled, you need to add it to a local ghc-tags.yaml.

EDIT: Ah ok, I see that ghc-tags doesn't recognize NoStarIsType as a valid extension. This needs fixing. For now as a workaround you can add it to the source file as a LANGUAGE pragma.

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

No branches or pull requests

2 participants