Scopes class in concept's behaviour missing

In this example it is shown the use of Scopes.forVariables to enrich the parent's scope. Trying to use it in my own DSL, I cannot refer to the Scopes class in the behaviors of my concepts.


Comment actions Permalink

The Scopes helper class is in j.m.baselanguage.scopes, which has to be imported.

Comment actions Permalink

Vaclav Pech Thanks, i imported that model and now i can use the Scopes class, but i can't use the parent scope expression. Do i have to import anything else for that?


EDIT: I've found out that you have to import the jetbrains.mps.lang.scopes language


Please sign in to leave a comment.