-
Notifications
You must be signed in to change notification settings - Fork 140
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
Fix composite-typed argument passing #1235
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit c4c1392 Results
|
Codecov Report
@@ Coverage Diff @@
## master #1235 +/- ##
=======================================
Coverage 77.53% 77.54%
=======================================
Files 274 274
Lines 35085 35083 -2
=======================================
Hits 27204 27204
+ Misses 6801 6799 -2
Partials 1080 1080
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
11f734c
to
2e2c946
Compare
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! Thank you for fixing this 👍
@@ -3817,7 +3817,11 @@ func (interpreter *Interpreter) GetContractComposite(contractLocation common.Add | |||
return contractValue, nil | |||
} | |||
|
|||
func (interpreter *Interpreter) getCompositeType(location common.Location, qualifiedIdentifier string, typeID common.TypeID) (*sema.CompositeType, error) { | |||
func (interpreter *Interpreter) GetCompositeType( |
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.
✨
Co-authored-by: Bastian Müller <[email protected]>
11ba330
to
ef30e9b
Compare
Closes onflow/flow-emulator#94
Description
When composite typed values are passed in as arguments, always get the field type info from the type-definition.
master
branchFiles changed
in the Github PR explorer