Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brackets expression is not working in MPS 2023.2 #819

Open
alexanderpann opened this issue Apr 8, 2024 · 2 comments
Open

Brackets expression is not working in MPS 2023.2 #819

alexanderpann opened this issue Apr 8, 2024 · 2 comments
Labels

Comments

@alexanderpann
Copy link
Collaborator

alexanderpann commented Apr 8, 2024

there is no entry in the substitute menu.

@veldhvzbd
Copy link

veldhvzbd commented Apr 16, 2024

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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants