[no-padded-parens] produces a display issue due to whitespace as a result from stripping
jhauberg opened this issue · 0 comments
jhauberg commented
So this code trigger the no-padded-parens
:
if (Is_airlevel(&u.uz) || Is_waterlevel(&u.uz) /* in bubble */) {
You_cant("write in thin air!");
return 0;
There is actually a violation here, but only by a single whitespace- the reason for the above display is that it is checking on the stripped version of the text- which would have whitespace instead of the block comment.
Additionally, the suggestions wording is confusing, because the triggering paren is not colored- is it the left or right paren?