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
Describe the bug
Norminette is not consistent with the cast operator.
Warnings show up when it's used inside a block.
Erroneous code
while (i)
{
while (j != (size_t)-1)
{
}
}
leads to:
Error: SPC_AFTER_OPERATOR (line: 26, col: 29): missing space after operator
Error: SPC_BFR_OPERATOR (line: 26, col: 29): missing space before operator
While:
while (j != (size_t)-1)
{
}
doesn't trigger warnings. This is the expected behavior.
Additional infos
OS: Arch
python3 --version: 3.11.6
norminette -v: 3.3.54
The text was updated successfully, but these errors were encountered:
Describe the bug
Norminette is not consistent with the cast operator.
Warnings show up when it's used inside a block.
Erroneous code
leads to:
Error: SPC_AFTER_OPERATOR (line: 26, col: 29): missing space after operator
Error: SPC_BFR_OPERATOR (line: 26, col: 29): missing space before operator
While:
doesn't trigger warnings. This is the expected behavior.
Additional infos
The text was updated successfully, but these errors were encountered: