Closed alexanderpann closed 3 days ago
And when you have an editor containing a BracketsCell, it generates code that does not compile:
The template template_BracketsCell_DeleteBracket contains a line inner.smodelAttribute.addAll(node.smodelAttribute);
which gets to be generated as ListSequence.fromList(SLinkOperations.getChildren(inner, LINKS.smodelAttribute$KJ43)).addSequence(SLinkOperations.getChildren(node, LINKS.smodelAttribute$KJ43));
The Java compiler complains that incompatible types: java.util.List<org.jetbrains.mps.openapi.model.SNode> cannot be converted to jetbrains.mps.internal.collections.runtime.ISequence<? extends org.jetbrains.mps.openapi.model.SNode>
.
I don't know what happened but I can't reproduce my original issue and also not the issue with the generation.
Closing since it is not reproducible anymore.
there is no entry in the substitute menu.