-
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
Improve composite and interface static types #2751
Improve composite and interface static types #2751
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit f1db11c Collapsed results for better readability
|
Codecov Report
@@ Coverage Diff @@
## master #2751 +/- ##
==========================================
+ Coverage 79.18% 79.19% +0.01%
==========================================
Files 333 333
Lines 78527 78552 +25
==========================================
+ Hits 62183 62212 +29
+ Misses 14043 14038 -5
- Partials 2301 2302 +1
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!
Description
In #2648 I refactored composite static types and removed support for a caching the type ID.
Instead, it is better to also add the type ID caching to interface static types.
While at it, clean up the uses of composite and interface static types and use the constructor functions instead of Go composite literals, to ensure the type ID is always available and correct.
Also, use
NewTypeIDFromQualifiedName
everywhere.master
branchFiles changed
in the Github PR explorer