Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 11.0.3
Description
The following code is underlined in red as a syntax error but it is not because it compiles without errors.
bool ok; int id = 0; // any value if (!ok || id < 1 || id > 308)
The error in the tooltip shows: "Expected token ')' got '308'
Edit: Changed from {code} to {noformat} for removing incorrect ">" at beginning of line which Jira inserted mistakenly.