-
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
Introduce toConstantSized
to VariableSizedArray
type
#3028
Conversation
VariableSizedArray
typetoConstantSized
to VariableSizedArray
type
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3028 +/- ##
==========================================
+ Coverage 80.37% 80.38% +0.01%
==========================================
Files 364 364
Lines 85173 85308 +135
==========================================
+ Hits 68456 68578 +122
- Misses 14275 14283 +8
- Partials 2442 2447 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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!
@onflow/cadence could you please have a look? it would be great to get this into the next release, it will make using the EVM API much easier |
Co-authored-by: Bastian Müller <[email protected]>
Co-authored-by: Bastian Müller <[email protected]>
Co-authored-by: Supun Setunga <[email protected]>
8b66a4b
to
a38010d
Compare
Had to force push after resolving merge conflicts. |
Closes #2530
Description
Introduce
toConstantSized
function toVariableSizedArray
type. This function will return a constant-sized array whose contents are copies of the original variable-sized array.Since copy of values are involved, this is not available if the inner type of the variable-sized array is a resource.
master
branchFiles changed
in the Github PR explorer