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

SelectFromMainFile makes macro type-checker not see "types" defined in headers. #322

Open
phadej opened this issue Dec 2, 2024 · 1 comment

Comments

@phadej
Copy link
Collaborator

phadej commented Dec 2, 2024

This seems like inherent limitation of SelectFromMainFile.

@edsko edsko added this to the 1: `Storable` instances milestone Dec 20, 2024
@edsko
Copy link
Collaborator

edsko commented Dec 20, 2024

I guess this is more than just the macro type checker; if you SelectFromMainFile, and you use types defined in some of those headers, those types must somehow be available. Related to the prelude (#293), multiple headers in one library (#75), and multiple libraries (#294). Leaving this ticket open to remind ourselves that we need to worry about this also for macro type checking.

@edsko edsko closed this as completed Dec 20, 2024
@edsko edsko reopened this Dec 20, 2024
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