Clarification on Compiler Warnings in Test Input Files (e.g., yield usage, missing @Deprecated) #16842
Answered
by
romani
Praveen7294
asked this question in
Q&A
-
Hi maintainers, I’ve been working through the Checkstyle codebase and noticed that some test input files produce compiler warnings. A few examples include:
warning
I understand that many of these test input files are crafted intentionally to trigger specific checks or corner cases. However, I wanted to clarify whether:
|
Beta Was this translation helpful? Give feedback.
Answered by
romani
Apr 13, 2025
Replies: 1 comment
-
In Inputs,the more weird code the better, all warnings are done on purpose or ok to be so. Theere is no meaningful reason in logic of such Inputs. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Praveen7294
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Inputs,the more weird code the better, all warnings are done on purpose or ok to be so.
Theere is no meaningful reason in logic of such Inputs.
They are just collection any possible code that compiles without errors.