-
Notifications
You must be signed in to change notification settings - Fork 139
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
Remove support for custom destructors #2789
Remove support for custom destructors #2789
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:feature/remove-destructors commit b9edc95 Collapsed results for better readability
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that at the moment this doesn't have tests to enforce that the appropriate destructors run; we were previously doing this by setting flags in the body of the destructors, obviously this is no longer possible. However, once we implement support for default events, we can assert that the appropriate events are emitted when we expect in order to test this again.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## feature/remove-destructors #2789 +/- ##
==============================================================
- Coverage 80.02% 79.93% -0.10%
==============================================================
Files 344 344
Lines 81625 81388 -237
==============================================================
- Hits 65323 65059 -264
- Misses 13991 14018 +27
Partials 2311 2311
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
…to sainati/ban-custom-destructors
…to sainati/ban-custom-destructors
@turbolent @SupunS now that the FLIP associated with this is ready to be approved, this PR is ready for review |
…to sainati/ban-custom-destructors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 🗑️ 👌 Nice!
Looks good, just a couple questions regarding the TODOs
…e into sainati/ban-custom-destructors
Part of #2790
Reference implementation for onflow/flips#131, and as such will not be merged unless this FLIP is approved. This does not (yet) include support for default events
master
branchFiles changed
in the Github PR explorer