Skip to content

Wrong linking / references #1749

Answered by msujew
grafandreas asked this question in Q&A
Nov 11, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Langium's default scoping uses local scopes as well. However, as Microaction instances are defined in the scope of a Microaction_def, it won't be available outside of that. That is the definition of a local scope. By default, elements are only available if they are a sibling, a parent, or a sibling of a parent (recursively). To adjust how the scoping is done, see the scoping guide posted above.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@msujew
Comment options

Answer selected by grafandreas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1748 on November 11, 2024 14:51.