Skip to content

Comments

Misc DMParser Tests & Fixes#2382

Merged
wixoaGit merged 1 commit intoOpenDreamProject:masterfrom
ike709:furthertesting
Sep 16, 2025
Merged

Misc DMParser Tests & Fixes#2382
wixoaGit merged 1 commit intoOpenDreamProject:masterfrom
ike709:furthertesting

Conversation

@ike709
Copy link
Collaborator

@ike709 ike709 commented Sep 1, 2025

  • Add a bunch of random tests to improve codecov
  • Fix a few cases where error handling would actually result in additional parser errors
  • Improve the wording of some errors to be more accurate
  • Fix a parity break in switch cases. switch(foo) if() is effectively a no-op AFAICT; it is not equivalent to if(null) nor if(""). We were treating it as an error; I converted it to a pragma.
  • Fix a parity break in path search:
image

@ike709 ike709 requested a review from wixoaGit September 1, 2025 20:01
@boring-cyborg boring-cyborg bot added the Compiler Involves the OpenDream compiler label Sep 1, 2025
@github-actions github-actions bot added the size/L label Sep 1, 2025
@wixoaGit wixoaGit merged commit 54dc634 into OpenDreamProject:master Sep 16, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compiler Involves the OpenDream compiler size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants