-
Notifications
You must be signed in to change notification settings - Fork 138
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
Return a reference with all entitlements, when access through owned values #2637
Return a reference with all entitlements, when access through owned values #2637
Conversation
…onflow/cadence into supun/identity-mapping-improvement
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:feature/mutability-restrictions commit 8fe5295 Collapsed results for better readability
|
Codecov Report
@@ Coverage Diff @@
## feature/mutability-restrictions #2637 +/- ##
================================================================
Coverage 78.89% 78.90%
================================================================
Files 341 341
Lines 81820 81850 +30
================================================================
+ Hits 64555 64585 +30
Misses 14909 14909
Partials 2356 2356
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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!
It would be good to get a review from @dsainati1 here before merging |
b52fa45
to
a54cad8
Compare
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, thank you for adding this. Does this also address #2588 (comment)?
I don't see any updated tests here, so if this is not fixed by this PR I think it can be just by using this same AllSupportedEntitlements
functionality.
@dsainati1 No it doesn't address #2588 (comment). Like discussed there, it is impossible to know all possible entitlements for a |
Ah okay I see the problem. In that case I think the current behavior is fine actually; after thinking about it further this is not the only case with the
It is somewhat unusual to realize that the |
e2ccbb0
to
76e239e
Compare
76e239e
to
842a9cd
Compare
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.
Looks good to me! Thanks for investigating all the issues here.
Work towards #2638
Work towards onflow/flips#94
Closes #2536
Description
Adds the improvement discussed in #2588 (comment)
master
branchFiles changed
in the Github PR explorer