Skip to content

Adds 0.. on save when using for loop with index parameter #103

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

Closed
DanikVitek opened this issue May 7, 2023 · 1 comment
Closed

Adds 0.. on save when using for loop with index parameter #103

DanikVitek opened this issue May 7, 2023 · 1 comment

Comments

@DanikVitek
Copy link

Hi there. There is a problem with auto-formatting on save. I have a for loop over items of an ArrayList and sometimes, when I try to save a file with it, the formatter adds this 0.. iterator. The code then fails to compile as it's an invalid syntax.
image

I may add the whole file, if needed

@Vexu
Copy link
Member

Vexu commented May 7, 2023

Duplicate of #93

@Vexu Vexu marked this as a duplicate of #93 May 7, 2023
@Vexu Vexu closed this as completed May 7, 2023
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