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

Dot comment line not recognized

Open gquerret opened this issue 2 years ago • 2 comments

On behalf of NCC

This code block triggers rule ExtraCharactersInIdentifier on line 2, while that's in fact a dot comment.

hExcel:Worksheets(1):Cells(1, 1) = "XXX".
.hExcel:Worksheets(1):Cells(1, 2) = "YYY".
hExcel:Worksheets(1):Cells(1, 3) = "ZZZ".

Tested with 2.16. New customer, so no idea if that's a regression or not.

gquerret avatar Aug 17 '22 07:08 gquerret

Is there a rule to flag dot-comments? They are not mentioned in the current ABL reference doc.

PeterJudgeZA avatar Aug 21 '22 02:08 PeterJudgeZA

Is there a rule to flag dot-comments?

https://sonar.riverside-software.fr/coding_rules?languages=oe&open=rssw-oe-main%3Aeu.rssw.antlr.proparse.checks.DotComment&q=dot

gquerret avatar Aug 21 '22 06:08 gquerret

Won't fix, risk too high for very little value.

gquerret avatar Mar 06 '23 09:03 gquerret