-
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
Infer static type from the value itself for imported arrays/dictionaries #1049
Conversation
… into supun/infer-static-type
… into supun/infer-static-type
f24e710
to
bbba319
Compare
Codecov Report
@@ Coverage Diff @@
## master #1049 +/- ##
=======================================
Coverage 77.59% 77.60%
=======================================
Files 274 274
Lines 35241 35243 +2
=======================================
+ Hits 27347 27350 +3
+ Misses 6809 6808 -1
Partials 1085 1085
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@SupunS Do you think that we could hold off with this for now and get all the supertype inference PRs in later, i.e. the next release / spork? Do you think it's possible to do something simple for now, like e.g. infer |
@turbolent Yeah, that should be fine. I added this more as a way to test the concept/usage. But for dictionary keys, |
…cadence into supun/infer-static-type
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit a523a95 Results
|
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!
…/infer-static-type
Work towards #870
Description
Infer the static type from the array/dictionary value, if the expected type is not specific enough/ not available.
Depends on #1025 and #1048
master
branchFiles changed
in the Github PR explorer