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

Add missing dropVCs annotation in AntiAliasing #1496

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

mario-bucev
Copy link
Collaborator

Note that there was an already existing @DropVCs annotation that wrapped the expression, but in some instances the VC for class invariant was still being generated (even though it should not).
Note that removing the final makes verification pass, so this missing @DropVCs is certainly an oversight.
The ClassReconstruction sample showcases this.

@mario-bucev mario-bucev force-pushed the antialiasing-add-drop-vcs branch from cfa8b2e to a077326 Compare January 31, 2024 10:22
@mario-bucev mario-bucev force-pushed the antialiasing-add-drop-vcs branch from a077326 to 754bc24 Compare February 8, 2024 13:15
//
// var thiss: BoundedCounterContainer = thiss
// ({
// var res: (Unit, BoundedCounterContainer) = tryAdd(thiss, i)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like the BoundedCounter case class is not considered sealed. But in the benchmark it should be, right, at least in Scala 3?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am just surprised about the need for this dynamic class dispatch resolution in first place.

@mario-bucev mario-bucev force-pushed the antialiasing-add-drop-vcs branch from 754bc24 to aed89cc Compare February 29, 2024 15:51
@mario-bucev mario-bucev merged commit e9f9193 into epfl-lara:main Feb 29, 2024
2 checks passed
@mario-bucev mario-bucev deleted the antialiasing-add-drop-vcs branch February 29, 2024 17:26
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