Error reporting

Issue #391 invalid
Tom Best created an issue

var Dict:= TDictionary<integer, string>.create;
for var val in Dict.Values do
begin
end;
Dict.free;

Comments (3)

  1. Stefan Glienke repo owner

    var Dict:= TCollections.CreateDictionary<integer, string>; for var val in Dict.Values do begin end;

  2. Tom Best reporter

    Project Project1.exe raised exception class EInvalidPointer with message 'Invalid pointer operation'.

  3. Stefan Glienke repo owner

    My point was that spring collections have to be used as interfaces and since you wrote as little I figured I write as little as well.

  4. Log in to comment