-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressA false positive or false negative report which is expected to take <1 day effort to addressImpact-Mediumfalse positive/false negativeAn issue related to observed false positives or false negatives.An issue related to observed false positives or false negatives.
Description
Affected rules
RULE-10-1
Description
We are missing unary operations:
- The
~
complement operator is not currently supported. !
operator is reporting the incorrect essential type - it should beboolean
.
Example
~1; // NON_COMPLIANT[FALSE_NEGATIVE] - the ~ operator is not currently supported
bool x = false;
!x && true; // COMPLIANT[FALSE_POSITIVE] - !x should have essential type bool and so should be permitted
Metadata
Metadata
Assignees
Labels
Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressA false positive or false negative report which is expected to take <1 day effort to addressImpact-Mediumfalse positive/false negativeAn issue related to observed false positives or false negatives.An issue related to observed false positives or false negatives.
Type
Projects
Status
Done