-
Notifications
You must be signed in to change notification settings - Fork 185
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
Capture parser warnings as lints #2792
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2792 +/- ##
==========================================
- Coverage 99.59% 99.57% -0.02%
==========================================
Files 125 125
Lines 6835 6872 +37
==========================================
+ Hits 6807 6843 +36
- Misses 28 29 +1 ☔ View full report in Codecov by Sentry. |
srcfile = source_expression, | ||
keep.source = TRUE | ||
env <- parent.frame() # nolint: object_usage_linter. Used below. | ||
parsed_content <- withCallingHandlers( |
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.
Any reason to nest the handlers?
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's no other way? withCallingHandlers()
doesn't work with error conditions AFAIK...
(maybe I'm misreading)
Closes #2065