Assert in NormalizeSymbolsCase() with some overloaded functions.

Issue #31 resolved
Anders Melander created an issue

The following script causes an assertion failure in the dwsCaseNormalizer.NormalizeSymbolsCase function:

unit Unit1;

interface

procedure Test(const A, Blah: string; const C: string); overload;
procedure Test; overload;

implementation

procedure Test(const A, Blah: string; const C: string);
begin
end;

procedure Test;
begin
end;

end.

The assertion that fails is:

Assert(UnicodeSameText(symbol.Name, occurence))

where

symbol.Name = 'C'
occurence = 'B'

Comments (1)

  1. Log in to comment