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

SrcSpan not found while parsing #58

Open
Chaitanya-nair opened this issue Apr 12, 2023 · 2 comments
Open

SrcSpan not found while parsing #58

Chaitanya-nair opened this issue Apr 12, 2023 · 2 comments

Comments

@Chaitanya-nair
Copy link

When we parse module using this plugin, we are having wrong src spans.
We faced the same issue in large-anon plugin of this commit https://github.com/well-typed/large-records/commit/c748cd9093198ab8d07a15cd920a9eb1adf3b6d4, but using the exact name in this commit https://github.com/well-typed/large-records/commit/3fda12387dad9ee83fe899db12f4dddcdf063b39, this issue was resolved.

@ndmitchell
Copy link
Owner

Not quite sure I follow from those two diffs what is required. Patch most welcome.

@aravindgopall
Copy link

Hey @ndmitchell,

Problem: we have a project using GHC (8.8.4) as library and we are facing a issue with parsing large-anon plugin of old commit which got resolved with the new commit as shared above. Now we are facing the same issue with record-dot-preprocessor plugin even with latest commit.

We are looking for any help from community to understand what causing this issue and how this can be fixed.

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

3 participants