-
Notifications
You must be signed in to change notification settings - Fork 140
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
Properly support super types in ConformsToStaticType implementations #1694
Properly support super types in ConformsToStaticType implementations #1694
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 16c5038 Results
|
Codecov Report
@@ Coverage Diff @@
## master #1694 +/- ##
==========================================
+ Coverage 76.64% 76.72% +0.08%
==========================================
Files 292 292
Lines 61199 61171 -28
==========================================
+ Hits 46904 46936 +32
+ Misses 12682 12623 -59
+ Partials 1613 1612 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
This seems a good solution 👌
Just to make sure I understand correctly: This extends the existing ConformsToStaticType
check of CompositeValue
to other containers as well, and all the leaf-values / non-container-values are assumed to conform to their type always.
Closes #1693
Description
Change
ConformsToStaticType
so it only determines if the value conforms to its own static type, recursively.master
branchFiles changed
in the Github PR explorer