Skip to content

Giving Perm-typed expressions higher priority #855

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

Merged
merged 2 commits into from
Mar 18, 2025

Conversation

marcoeilers
Copy link
Contributor

As a result, the default for any ambiguously typed expression that could be either Int or Perm is always Perm. That's what we want, because the primitive expression that causes the ambiguity, division expressions, can be forced to be Int-typed (by using operator \) but cannot be forced to be Perm-typed.

This fixes issue #745.

@marcoeilers marcoeilers merged commit db92573 into master Mar 18, 2025
5 checks passed
@marcoeilers marcoeilers deleted the meilers_div_type_priority branch March 18, 2025 14:08
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