I'm having an issue when defining a customized scope in the Constraints aspect of my language.
I create a ListScope.forNamedElements using a list of nodes that I want to be displayed in this list. When setting this reference in the sandbox, the autocomplete works and shows only the nodes that I wanted to be displayed. But, as soon as I select the node that I want, I get a red underline (error mark) saying that "reference nameOfReference (nodeType) is out of search scope".
I think I'm missing something here. Does anyone know what I'm doing wrong?