remove 'red' lines in sandbox editor

Hello forum!

I have another question.
How can I remove these 'red' lines if I hit enter and don't choose a concept from the code-completion menu? I've provided a sample seen underneath.


Thanks in advance!

1 comment
Comment actions Permalink
Your statements are contained in a collection, which is specified using an abstract concept, such as "body : AbstractStatement[0..n]".  The editor does not know which concrete concept to instantiate as so uses the abstract one. You need to specify the "element factory" property of the collection holding your statements and create a concrete node in it, such as an empty line "new node<EmptyLine>, for example.

Please sign in to leave a comment.