-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Template code for disallowing options in input modes that do not support them (handles --error-recovery
)
#11909
Conversation
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.
Some changes are needed.
Also, please remember about the changelog entry. Since the previous PR has not been released yet, I'd just update the previous entry and list the new option here.
--error-recovery
)
@Midhun07 Are you working on this? Do you need help? We have a ton of pending PRs right now and we'd like trim that number down a bit. If you don't have time for it, I can take over and finish it. |
@cameel Sorry was caught up due to personal reasons I will start working on this and submit the changes by today |
Hi @cameel I have made the requested changes. Please review. |
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.
A few more changes needed but it already looks pretty good.
Please also add a changelog entry.
@cameel I have added the latest suggestions please review. |
Some issues with b_osx which I don't seem to understand. I'm not sure if it is originating from my changes. |
It's unrelated to your changes. We're getting this in external PRs lately and I'm not sure why. Tried to fix it in #12106 but that did not help. In one PR creating a branch on our side helped so I'll try to do it here too. |
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.
It's good now, just formatting is a bit off.
Also, please add a changelog entry (in the bugfix section).
@cameel I have added the changelog for the current update |
@cameel Shall I start pushing further fixes to this branch? |
It's fine. The changelog entry needs some tweaking but other than that the PR is ready. If you want the tests to pass, you can rebase it on #12106 but it's probably going to be merged pretty quickly anyway. |
I mean, if you want to build on this PR, my suggestion would be to open a new one on top of it. |
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.
I fixed the changelog entry and rebased it on latest develop
so that it can pass tests.
Please submit any further changes in a new PR.
I have disallowed
--error-recovery
option with input modes Standard json, Assembly and Linker modes. Also this is a template for all the other invalid options mentioned in the issue #11629.