-
Notifications
You must be signed in to change notification settings - Fork 68
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
AST Node has no document #1717
Comments
Hey @grafandreas, can you post a reproduction example? I've seen some complaints about it, but failed to reproduce the issue as of now. |
@zrwsmd Can you reproduce this consistently? Can you share a reproducible example? |
Probably this is not the reason but I ran into this error when accidentally using In this example (which might not be very reasonable) :
Using this input:
The error |
A Boolean assignment with a non-primitive right-hand-side should actually be forbidden. We need a grammar validation check for that. |
When working on a new grammar / language, I see the issue that in Linking and other situations, Langium fails with
Error: AST node has no document.
at getDocument (c:\Users\agraf.vscode\extensions\undefined_publisher.XXXXX-0.0.1\out\language\main.cjs:10601:11)
Since in @cdietrich 's report on the formatter he mentions "the" AST node has no document bug, I assume it is already known. Is there further information on that bug?
Regards,
Andreas
The text was updated successfully, but these errors were encountered: