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

Layout problems with SqrtExpression #2219

Closed
josefmueller opened this issue May 30, 2022 · 2 comments
Closed

Layout problems with SqrtExpression #2219

josefmueller opened this issue May 30, 2022 · 2 comments

Comments

@josefmueller
Copy link

There is a layout problem for the combination of SqrtExpression, PowerExpression and LocalVarRef. Using ParensExpression does not fix it.

Example:
image

@eugenschindler
Copy link
Collaborator

eugenschindler commented Jul 11, 2022

I can confirm this also on MPS 2021.1 with mbeddr tutorial HelloMath module:
project: tutorial (/home/eugen/repo/external/mbeddr.core/code/applications/tutorial)
module: mbeddr.tutorial.main
model: mbeddr.tutorial.main.math
root: HelloMath [ImplementationModule]
node: midnight1 [Function]
url: http://127.0.0.1:63320/node?ref=r%3A6a63d759-341b-4a55-b0b8-859e3707a9ff%28mbeddr.tutorial.main.math%29%2F7040583391080129354

What I don't get is whether this is a problem in the MPS Extension for math notations or whether HelloMath has a very specific case in which the math notation extension is configured in such a way that it misbehaves.

@alexanderpann
Copy link
Member

This issue looks fixed in the maintenance/mps2022 branch through one of the latest fixes in the celllayout language in MPS-Extensions. Please reopen when you find an edge case where it doesn't work.

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

No branches or pull requests

3 participants