You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a comment to #3482, @sharwell noted that some unit tests were expecting two diagnostics for the same location in top-level statements like this:
return 0;
record A(); // Reported twice on the first character of this line
I have debugged a little and see that HandleCompilationUnit in SA1516ElementsMustBeSeparatedByBlankLine is called twice in those tests. The second call only seems to happen on code using top-level statements.
The text was updated successfully, but these errors were encountered:
bjornhellander
changed the title
SA1516 reported twice for the same location
SA1516 reported twice for the same location in top-level statements
Apr 24, 2022
In a comment to #3482, @sharwell noted that some unit tests were expecting two diagnostics for the same location in top-level statements like this:
I have debugged a little and see that HandleCompilationUnit in SA1516ElementsMustBeSeparatedByBlankLine is called twice in those tests. The second call only seems to happen on code using top-level statements.
The text was updated successfully, but these errors were encountered: