-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[cling] Use single Parser
for LookupHelper
#17353
Conversation
Test Results 18 files 18 suites 4d 2h 40m 23s ⏱️ Results for commit 3772195. ♻️ This comment has been updated with latest results. |
Probably worth checking with cmssw. |
Yes, good idea, first wanted to see if our own CI agrees with my local testing. I'll allow CMS people to come back from vacation first and also update to ROOT |
71333a4
to
399c950
Compare
The original reason for the separate parser (as seen in its introduction: b1003a1) is to side-steps potential failures/bugs in the parser error recovery. |
Ok, but I'm not sure if a second parser is actually sufficient for that: In case of problems with the parser error recovery, the main parser for Cling is untouched and continues to work, but now the single parser used by the |
Hi @smuzaffar, happy new year! I have to start January with another request: When you have time, could you run this PR through CMS testing to make sure it doesn't break things? It will allow us to drop 1.5 patches and make the interpreter more sustainable 😃 |
399c950
to
9d1c522
Compare
@smuzaffar could you run this through testing with CMSSW to make sure it doesn't break anything? If I understand correctly, the problems related to ROOT |
@hahnjo , cmssw tests are running via cms-sw#217 |
@hahnjo , cmssw tests look good |
Thanks for testing and confirming, the additional test coverage is much appreciated! |
@vgvassilev is this ok in principle? (still need to prepare a tag, I will synchronize with Dev) |
I am surprised this works. In principle the direction looks good as the "feature" was developed to satisfy root's testsuite and experiments. We probably could move forward. |
I think it's a consequence of the RAII object cleaning up in case of errors. That already had to work with a single additional |
It is the only construction of a temporary parser, and it seems not necessary (anymore).
9d1c522
to
3772195
Compare
This should be ready now, the CI is green |
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.
LGTM! Thank you, @hahnjo.
It is the only construction of a temporary parser, and it seems not necessary (anymore).