Some -Wnonunit-statement
can't be silenced with @annotation.nowarn
#17741
Labels
-Wnonunit-statement
can't be silenced with @annotation.nowarn
#17741
Compiler version
3.3.1-RC1
Minimized code
Output
Expectation
The
nowarn
annotation should silence the warning. I've also tried using a-Wconf
compiler option but still no luck.I said "some" in the title because the issue doesn't happen for all non-Unit statements. I initially came across it with XML-literals in my code and found that it doesn't happen for other simple statements, e.g. this works properly
The text was updated successfully, but these errors were encountered: