Export to GitHub

dwscript - issue #488
dwsHashtables.pas: THashTable.Clear does not set FSize to zero
Posted on Aug 13, 2014 by
Happy Bird
What steps will reproduce the problem? 1. Create a TStringHashTable instance 2. Use its method .Put() to add some items to it 3. Call its method .Clear() 4. Check the value of its property .Size
What is the expected output? What do you see instead? .Size should be zero but isn't
What version of the product are you using? On what operating system? The latest version (r2107)
Comment #1
Posted on Sep 15, 2014 by Happy RabbitThis issue was closed by revision r2594.
Status: Fixed
Labels:
Type-Defect
Priority-Medium