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

Prelude dependency isn't accounted for in groupModules #31

Open
UnkindPartition opened this issue Jun 20, 2013 · 0 comments
Open

Prelude dependency isn't accounted for in groupModules #31

UnkindPartition opened this issue Jun 20, 2013 · 0 comments

Comments

@UnkindPartition
Copy link
Member

Since dependency on Prelude is not manifested in module's imports directly, it may be incorrectly sorted topologically in Language.Haskell.Names.Recursive.groupModules.

We don't add Prelude to the output of getImports because it returns [ImportDecl l], and we don't have any annotations for the virtual Prelude import. So we should change the type of getImports somehow.

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

1 participant