-
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 HashableStruct
type to represent Dictionary keys
#2872
Conversation
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.
Opened it in WIP state to get some early feedback. Haven't yet dealt with the export/import and fixing the tests.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2872 +/- ##
==========================================
+ Coverage 79.38% 79.43% +0.05%
==========================================
Files 334 332 -2
Lines 78826 79111 +285
==========================================
+ Hits 62576 62842 +266
- Misses 13944 13958 +14
- Partials 2306 2311 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
HashableStruct
type to represent Dictionary keys
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.
Can you please also add some tests for using the HashableStructType
in Cadence code?
i.e: Similar to runtime/tests/checker/any_test.go
Co-authored-by: Supun Setunga <[email protected]>
Co-authored-by: Supun Setunga <[email protected]>
Co-authored-by: Supun Setunga <[email protected]>
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!
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!
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.
Great work! 👌
Closes #2428
Description
Introduce
HashableStruct
type to Cadence.master
branchFiles changed
in the Github PR explorer