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: Map range requires equality for enclosing type to support equality #5973

Merged
merged 4 commits into from
Dec 12, 2024

Conversation

MikaelMayer
Copy link
Member

This PR fixes #5972
I added the corresponding test.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@MikaelMayer MikaelMayer enabled auto-merge (squash) December 11, 2024 23:30
@MikaelMayer MikaelMayer merged commit 1d74af1 into master Dec 12, 2024
22 checks passed
@MikaelMayer MikaelMayer deleted the fix-5972-map-range-equality branch December 12, 2024 13:57
RustanLeino added a commit that referenced this pull request Dec 17, 2024
…ypes (#5980)

This PR extends fix #5973 of issue #5972 to also handle newtypes, subset
types, and type synonyms wrapped around map and sequence types.

Fixes #5978 

<small>By submitting this pull request, I confirm that my contribution
is made under the terms of the [MIT
license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>

---------

Co-authored-by: Mikael Mayer <[email protected]>
Co-authored-by: Mikaël Mayer <[email protected]>
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.

Soundness issue: Map's range not inferred to require equality for datatype to support equality
2 participants