-
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
Allow analysis.Load to continue with parsing/checking errors #3083
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 1f7a1f6 Collapsed results for better readability
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3083 +/- ##
=======================================
Coverage 80.65% 80.65%
=======================================
Files 379 379
Lines 91436 91478 +42
=======================================
+ Hits 73749 73785 +36
- Misses 15041 15045 +4
- Partials 2646 2648 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6821734
to
5d88a4a
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.
👍
Co-authored-by: Bastian Müller <[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.
👍
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.
Looks good now! Just need to lint (remove unused constant) and left a couple suggestions
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.
👍
@SupunS Can you please also have a look? |
Merging this for now so we can get a release out |
Closes #3087
Description
Allow for custom checker/parser handlers to be configured in the analysis tool. These errors may be non-fatal & this gives the option to choose whether to suppress them and continue analysis.
Unblocks onflow/cadence-tools#285. Pre-cadence 1.0 code is not semantically valid in cadence 1.0 checker so these errors will be present. In order to run the cadence 1.0 analyzer, a mechanism needs to exist to suppress these errors. This is similar to the behaviour that already exists in the language server.
master
branchFiles changed
in the Github PR explorer