-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Ability to enumerate multisets in the Dafny-to-Rust code generat…
…or (#5803) Fixes #5802 ### Description Multiset iteration was implemented in the runtime but not imported to the Dafny-to-Rust code generator. Moreover, it did not iterate elements with multiplicity, which might be needed. This PR adds support for multiset bounded pools so that multisets can be used in quantifiers and comprehensions. ### How has this been tested? A test in the runtime verifies the multiplicity, and I updated an existing test to test the enumeration in quantifiers and comprehensions. <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>
- Loading branch information
1 parent
0831a23
commit d978d55
Showing
8 changed files
with
281 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.