JetBrains / MPS-extensions

MPS-extensions aims to ease language development within MPS.
https://jetbrains.github.io/MPS-extensions/
Apache License 2.0
83 stars 52 forks source link

Brackets expression is not working in MPS 2023.2 #819

Closed alexanderpann closed 3 days ago

alexanderpann commented 7 months ago

there is no entry in the substitute menu.

veldhvzbd commented 7 months 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>.

alexanderpann commented 7 months ago

I don't know what happened but I can't reproduce my original issue and also not the issue with the generation.

alexanderpann commented 3 days ago

Closing since it is not reproducible anymore.