-
Notifications
You must be signed in to change notification settings - Fork 15
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
Import from anywhere #604
Import from anywhere #604
Conversation
Ran into a roadblock in the implementation. The interpreter somehow doesn't pick up the hook added it seems. Asked for help in eclipse-langium/langium#1308 (comment) |
4674296
to
641d3be
Compare
953ec48
to
835f9ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While the code itself looks fine to me, I still get errors trying to run models with imports from above them if the interpreter runs from the same directory as the model:
error: Import from "./../../shared/transforms.jv" could be resolved. Check if the file exists in the given location.
$In <path removed>model.jv:15:8
15 | } from "./../../shared/transforms.jv";
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me and works on my machine :).
Closes #593