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

Ensure sub-diagnostic paths are correctly reported by the language server #1037

Open
2 tasks
micahscopes opened this issue Jan 16, 2025 · 1 comment
Open
2 tasks
Assignees

Comments

@micahscopes
Copy link
Collaborator

micahscopes commented Jan 16, 2025

See #1033 discussion for details.

To do:

  • Come up with a way to track/lookup an InputFile's corresponding InputIngot so that we can get its correct absolute path.
  • Ensure that InputFile paths are correctly set up in the language server (they should be relative to their corresponding ingot root)
@micahscopes micahscopes changed the title Ensure sub-diagnostic paths are correctly constructed Ensure sub-diagnostic paths are correctly reported Jan 16, 2025
@micahscopes micahscopes changed the title Ensure sub-diagnostic paths are correctly reported Ensure sub-diagnostic paths are correctly reported by the language server Jan 16, 2025
@Y-Nak
Copy link
Member

Y-Nak commented Jan 17, 2025

  • Ensure that each InputFile is located within the root InputFile's directory. For example, if the root input file is my_lib/src/lib.fe, then all input files belonging to my_lib should be placed under my_lib/src.

@micahscopes micahscopes self-assigned this Jan 17, 2025
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