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
IDEA inspection suppressions resulted from migration to v2022.3.3 #14625
Comments
@romani , issue description has been updated for new suppressions and image. |
…Present JavaParserTest tAHSLCN
…Present JavaParserTest tAHSLCN
@romani , @nrmancuso , the TailRecursion inspection, I'm not sure if we would want a fix for this. One probability would be to replace Tail recursive call by looping but I don't think it would make much difference in terms of speed/optimization for us, also it is highly likely to get prone to unnecessary errors and too much hacking of existing code while applying fix. So, shall we move it to permanent suppression? Please suggest what you feel about this. PS: If we are voting for permanent suppression, please give me good wording for noinspectionreason :) |
If it is not obvious fix, I can understand, but in this case we need to move this inspection to separate issue, list all cases and discuss all of them separately. In general recursion is not good and prone to failing eventually, some times in several decades :). |
Sure @romani , I will move this to new issue.
Agree. Tail recursions are better optimised than non-tail but recursion itself is unreliable on long run :) Just saying, fix would involve good level of hacking of existing code coz I've seen few cases where tail recursive call is being used as conditional clause too.. |
We need to take this on a case by case basis, there is no point in general discussion about this topic. |
This comment was marked as outdated.
This comment was marked as outdated.
@romani , @nrmancuso , Moved to #14814 |
…Present JavaParserTest tAHSLCN
…Present JavaParserTest tAHSLCN
…Present JavaParserTest tAHSLCN
Based on findings at #14604 & #14696
IDEA version used : v
2022.3.3
(highest true scopes release)JetBrains Release docs
The version bump resulted in successful build with validation problems which have been suppressed for migration :
https://app.circleci.com/pipelines/github/checkstyle/checkstyle/1/workflows/0968f80e-db8e-401a-ad87-8c409072ba31/jobs/574793/artifacts
As part of this issue, the following validations have suppressions that need to be picked and dealt with :
After resolving the suppression, the
@noinspection
&@noinspectionreason
tags must be removed from respective Javadoc. There is very little probability of cases which might require permanent suppression, report here as issue comments for such.See diff in PR #14696 to find such suppressions.
The text was updated successfully, but these errors were encountered: