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 imports in expects #7199

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Fix imports in expects #7199

merged 1 commit into from
Nov 6, 2024

Conversation

agu-z
Copy link
Collaborator

@agu-z agu-z commented Nov 5, 2024

During canonicalization, we create ImportParams expressions for all imports even none are supplied. This allows us to provide nice error messages during type checking if they're missing.

For nested defs and expects however, these would make it to mono where we would crash if we found them. We'll now drop them there.

Closes #7025

@agu-z agu-z merged commit c1a82ae into main Nov 6, 2024
18 checks passed
@agu-z agu-z deleted the fix-imports-in-expect-7025 branch November 6, 2024 10:56
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.

Import inside expect crashes the compiler
2 participants