-
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
Fix error on reference creation with invalid type #2687
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 7655a90 Collapsed results for better readability
|
Codecov Report
@@ Coverage Diff @@
## master #2687 +/- ##
=======================================
Coverage 78.57% 78.57%
=======================================
Files 338 338
Lines 78279 78281 +2
=======================================
+ Hits 61506 61508 +2
Misses 14481 14481
Partials 2292 2292
Flags with carried forward coverage won't be shown. Click here to find out more.
|
The |
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!
Closes #2685
Description
If the RHS type of the reference expression was an invalid type, then the reported error has a
nil
expected type.It is OK to skip reporting this error, if the type is invalid.
master
branchFiles changed
in the Github PR explorer