Skip to content

Conversation

@jabraham17
Copy link
Member

@jabraham17 jabraham17 commented Jan 9, 2026

Fixes an issue where runtime types where not properly removed when compiling code with --debug.

The bug is really that the compiler doesn't know how to codegen types (which it shouldn't) and earlier phases of the compiler don't remove some type calls properly. This makes --dead-code-elimination an essential pass to run. However, DCE, can remove important information when debugging. To workaround this, this PR partially re-enables DCE with --debug, keeping enough to make the compiler not crash.

Resolves

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.

1 participant