EmptyBlock raises issue on empty anonymous methods, but EmptyRoutine does not #315
Open
2 tasks done
Labels
bug
Something isn't working
Prerequisites
SonarDelphi version
1.11.0
SonarQube version
No response
Issue description
EmptyBlock currently raises an issue on an empty anonymous method, while EmptyRoutine (which should) does not.
For example, the following raises a single EmptyBlock issue:
This should be ignored by EmptyBlock, since the description states:
EmptyRoutine, on the other hand, should pick this up.
Steps to reproduce
Scan the following code with SonarDelphi:
Minimal Delphi code exhibiting the issue
No response
The text was updated successfully, but these errors were encountered: