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 SourceFileAffecting for options used in binder #426

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

jakebailey
Copy link
Member

The binder uses these options to issue errors and construct flow nodes, so we can't reuse the AST when these change.

This fixes more non-determinism in #425.

@andrewbranch
Copy link
Member

We should really refactor out --preserveConstEnums and --isolatedModules. Super frustrating to have those affect source file sharing.

@jakebailey
Copy link
Member Author

Yes, absolutely, and I kinda even want to make control flow not depend on the unreachable flags and instead move those errors to the checker / perform conditional analysis there.

@jakebailey jakebailey enabled auto-merge March 7, 2025 18:27
@jakebailey jakebailey added this pull request to the merge queue Mar 7, 2025
Merged via the queue into main with commit 00176f7 Mar 7, 2025
17 checks passed
@jakebailey jakebailey deleted the jabaile/binder-affecting-options branch March 7, 2025 18:37
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