Skip to content

Fix mis-parsing else: in switch() statements - #2710

Merged
wixoaGit merged 2 commits into
OpenDreamProject:masterfrom
ike709:switch_else
Sep 18, 2026
Merged

wixoaGit merged 2 commits into
OpenDreamProject:masterfrom
ike709:switch_else

Conversation

@ike709

@ike709 ike709 commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Knocks an error off FTL13.

@boring-cyborg boring-cyborg Bot added the Compiler Involves the OpenDream compiler label Sep 18, 2026
@ike709
ike709 requested a review from wixoaGit September 18, 2026 02:14
@wixoaGit

wixoaGit commented Sep 18, 2026

Copy link
Copy Markdown
Member

A test & fix for a normal if/else would be good too, a switch's else goes down a very different code path. Nevermind, didn't expect us to already support that.

Comment thread DMCompiler/Compiler/DM/DMParser.cs
@wixoaGit
wixoaGit enabled auto-merge (squash) September 18, 2026 08:15
@wixoaGit
wixoaGit merged commit 14138ec into OpenDreamProject:master Sep 18, 2026
21 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/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants