-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make -Xprompt work as desired under -Werror #19765
Conversation
Tested manually with |
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 think I tried the same fix but it did not work. The problem is that the warning is emitted (sent to ConsoleReporter) only at the end of the compilation run.
Did you do an -Xprompt with abort and then check whether the stacktrace makes sense?
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 think I tried the same fix but it did not work. The problem is that the warning is emitted (sent to ConsoleReporter) only at the end of the compilation run.
Did you do an -Xprompt with abort and then check whether the stacktrace makes sense?
I don't think I looked closely. I'll check again, sorry. |
Yes, using the example, it makes sense:
|
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.
OK, not sure why I thought this did not work before. Let's try this!
Fixes #19713