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.

 

0
2 comments

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

1

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

0

Please sign in to leave a comment.