Skip to content

Make error recovery a toggleable error code#2622

Open
amylizzle wants to merge 3 commits into
OpenDreamProject:masterfrom
amylizzle:error_recovery_code
Open

Make error recovery a toggleable error code#2622
amylizzle wants to merge 3 commits into
OpenDreamProject:masterfrom
amylizzle:error_recovery_code

Conversation

@amylizzle

@amylizzle amylizzle commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

Also removes a bad test which does not compile on BYOND or OD, it just hits our error recovery

Closes #2616

@boring-cyborg boring-cyborg Bot added the Compiler Involves the OpenDream compiler label Jun 7, 2026
@wixoaGit

wixoaGit commented Jun 9, 2026

Copy link
Copy Markdown
Member

Not really sure how I feel about this. This warning was added really early on, when the compiler tripped on all sorts of things. Its existence was more to give an idea of how much of the code was being skipped because of parsing issues.

If something is causing this message, but there's no error for it, then that's a bug.

@amylizzle

Copy link
Copy Markdown
Collaborator Author

I've only seen it on bad indent, but also at this point it should definitely be a "failed to compile" imo.

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/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests should fail if "Error recovery had to skip" lines

2 participants