-
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
Add support for injecting types into the environment #2811
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 1b64714 Collapsed results for better readability
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2811 +/- ##
==========================================
+ Coverage 79.23% 79.26% +0.02%
==========================================
Files 333 333
Lines 78753 78809 +56
==========================================
+ Hits 62401 62469 +68
+ Misses 14042 14033 -9
+ Partials 2310 2307 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
…m lookup in base type activation
Realized the type declaration itself is not sufficient for composite types. 957de13 adds support for looking up the injected composite type. This is needed e.g. for transferring values. |
Needed for Flex and #2760
Description
In addition to injecting a value, a host environment may also want to inject additional types.
Add support for declaring a
StandardLibraryType
into aruntime.Environment
.master
branchFiles changed
in the Github PR explorer