MATCHES rule - false positive

Project:Prolint Issue Tracker
Component:Rules
Category:bug report
Priority:normal
Assigned:jurjen
Status:closed
Description

I've got this warning for an 'IF' statement. No query involved.

I think it should not really complain about a MATCHES in an IF - what do you think?

The code was something like:

IF (vField MATCHES "*m*") THEN MESSAGE "It's got an 'm' in it!" VIEW-AS ALERT-BOX ERROR.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jurjen's picture

#1

I agree, this is a false positive.


jurjen's picture

#2

Assigned to:Anonymous» jurjen
Status:active» fixed

Fixed and committed to subversion, revision 363 (file prolint/rules/matches.p)


#3

Status:fixed» closed