mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 00:19:15 +02:00
Codetools: Hunt for issue #37384.
This commit is contained in:
parent
4d585393be
commit
2849fb27e9
@ -14190,6 +14190,8 @@ end;
|
|||||||
|
|
||||||
procedure TFindDeclarationParams.AddOperandPart(aPart: string);
|
procedure TFindDeclarationParams.AddOperandPart(aPart: string);
|
||||||
begin
|
begin
|
||||||
|
if aPart=FExtractedOperand then // Hunting for issue #37384
|
||||||
|
raise Exception.Create('TFindDeclarationParams.AddOperandPart: Adding duplicate "'+aPart+'"');
|
||||||
FExtractedOperand := FExtractedOperand + aPart;
|
FExtractedOperand := FExtractedOperand + aPart;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user