-
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
Check native function declarations #2821
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 368d7e3 Collapsed results for better readability
|
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2821 +/- ##
==========================================
+ Coverage 79.27% 79.38% +0.11%
==========================================
Files 333 333
Lines 78809 78748 -61
==========================================
+ Hits 62474 62514 +40
+ Misses 14029 13928 -101
Partials 2306 2306
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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!
Description
Previously, the parser gained support for parsing the
native
modifier for functions, and the checker rejected the modifier, gated behind a configuration option.Complete support for checking native functions, by requiring that if native functions are enabled, the function body is empty, and ignore checking it.
master
branchFiles changed
in the Github PR explorer