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

V 0.9 won't catch some errors #183

Closed
cgimenez opened this issue Feb 2, 2024 · 1 comment · Fixed by #184
Closed

V 0.9 won't catch some errors #183

cgimenez opened this issue Feb 2, 2024 · 1 comment · Fixed by #184
Assignees
Labels

Comments

@cgimenez
Copy link

cgimenez commented Feb 2, 2024

With this new version, this piece of code

@regs_map[reg][:cpu_regs] do |reg|
  reg.free
end

Won't catch the missing .each
So when on_save, the offending file goes red for a second, but the extension will not report any error (and prevents the file to be auto formated)

Edit : v0.8.4 catches the error, file goes red, no auto format

@nobodywasishere
Copy link
Member

I think the issue is the duplicate calls to the findProblemsRaw in the formatting. I'll fix this soon and do a new release. Thank you for reaching out!

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

Successfully merging a pull request may close this issue.

2 participants