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

Indentation is broken following a Reduction function with a for #13

Open
JoeRiel opened this issue Feb 2, 2025 · 1 comment
Open

Indentation is broken following a Reduction function with a for #13

JoeRiel opened this issue Feb 2, 2025 · 1 comment
Assignees

Comments

@JoeRiel
Copy link

JoeRiel commented Feb 2, 2025

Consider

        y1 = sum(ones(4) for j in 2:2);
        y4 = sum(ones(2,3) for j in 1:5);

When indented, the y4 equation is shifted just to the right of the for in the preceding line. A similar issue arises with conditional declarations.

Joe Riel

@rudi
Copy link
Collaborator

rudi commented Feb 24, 2025

Thanks for the report! I'll have a look but might take a while.

@rudi rudi self-assigned this Feb 24, 2025
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

2 participants