You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Luna-Klatzer
changed the title
[Bug] Useless statement warning only is not raised for a useless arithmetic expression
[Bug] Useless statement warning is not raised for an arithmetic expression
Feb 21, 2023
Is there an existing issue for this?
I am following the documentation's guide
This issue exists in the latest version
Current Behavior
When writing code, the compiler incorrectly doesn't recognise the following code as a potentially problematic and does not report an error:
Expected Behavior
The compiler should properly recognise this issue and report the appropriate warning.
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: