sonar-openedge icon indicating copy to clipboard operation
sonar-openedge copied to clipboard

Rule issues since 2.14.1

Open gquerret opened this issue 3 years ago • 1 comments

On behalf of RITS

Found in the 2.14.1 prerelease:

  • Expression has no effect is triggered when calling methods on COM-HANDLE variables without the parenthesis, i.e. cExcelApp:Quit or cExcelApp:Workbooks:Add)
  • Also reported by other customers, pattern INT(charVar) NO-ERROR followed by IF ERROR-STATUS:ERROR to check if a variable contains a numeric value. Should probably use preprocessor directive to exclude issue.

gquerret avatar Sep 07 '21 14:09 gquerret

First part fixed in develop

gquerret avatar Sep 13 '21 07:09 gquerret

Second part was fixed in 2.19.0

gquerret avatar Oct 05 '23 07:10 gquerret