-
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
Improve parsing for backward compatibility rules #3021
Improve parsing for backward compatibility rules #3021
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 08be353 Collapsed results for better readability
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3021 +/- ##
==========================================
- Coverage 80.21% 80.20% -0.02%
==========================================
Files 359 359
Lines 84304 84382 +78
==========================================
+ Hits 67626 67679 +53
- Misses 14247 14268 +21
- Partials 2431 2435 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Description
Improve experience when migrating pre-1.0 code by improving the parser rules
pub
,priv
, andpub(set)
access modifiers, ignore them and keep parsing. This reports more errors which reduces error fatigue (fix one error just to get another error; instead report as many errors as possible immediately, so they can get fixed in one go)pub(set)
parsing, but ignoring the result (taken from https://github.com/onflow/cadence/pull/2540/files#diff-2bb30711dcbbeff876d376da405eb28f46fc79172cb2b72c88e762f659440c26L359-L394)auth
keyword without a authorization (entitlement list), provide a better error message describing what is missingview
modifier, ignore it and keep parsingmaster
branchFiles changed
in the Github PR explorer