Skip to content

Commit

Permalink
Exclude func symbols from E type prefix rule
Browse files Browse the repository at this point in the history
  • Loading branch information
EricGrange committed Jun 23, 2022
1 parent 3109f2e commit e8910fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/SourceUtils/dwsGabelouStdRules.pas
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ procedure TGR_TypesNaming.EvaluateSymbol(const aSymbolList : TSymbolPositionList
isException := False;

typeSymbol := TTypeSymbol(aSymbolList.Symbol).UnAliasedType;
if typeSymbol is TFuncSymbol then Exit;

if typeSymbol is TClassSymbol then begin
classSymbol := TClassSymbol(typeSymbol);
while classSymbol.Parent <> nil do begin
Expand Down

0 comments on commit e8910fa

Please sign in to comment.