-
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
Add validation for exporting references to destroyed resources #2453
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 147e51e Collapsed results for better readability
|
Codecov Report
@@ Coverage Diff @@
## master #2453 +/- ##
==========================================
- Coverage 78.60% 78.32% -0.29%
==========================================
Files 316 325 +9
Lines 68848 72333 +3485
==========================================
+ Hits 54118 56652 +2534
- Misses 12928 13604 +676
- Partials 1802 2077 +275
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 45 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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 fix
Description
Trying to export a reference to a destroyed resource currently gives an internal error (nil pointer error). This PR fixes it by adding validation and throwing a more user friendly error.
master
branchFiles changed
in the Github PR explorer