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

Fix empty for() loop body error location #1592

Merged
merged 4 commits into from
Jan 11, 2024

Conversation

ike709
Copy link
Collaborator

@ike709 ike709 commented Dec 31, 2023

This changes the error message location of an empty body to be the location of for().

Daedalus has an empty for loop at the very end of the file, so the error message previously reported an entirely different file.

Also converts some stuff to use warningcodes. Let me know if this should be its own unique code, but I didn't think it was worth it.

@ike709 ike709 requested a review from wixoaGit January 9, 2024 21:46
@wixoaGit wixoaGit merged commit 70774e4 into OpenDreamProject:master Jan 11, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants