Error AV

Issue #254 resolved
Alex Bespalov created an issue

Found bug.

The simpiest code

begin
PrintLn('123')(
end;

Destroying DWS.

My quickfix - replace line

           if (funcSym = nil) and baseType.CanExpectAnyFuncSymbol then begin

to

           if (funcSym = nil) and Assigned(baseType) and baseType.CanExpectAnyFuncSymbol then begin

but really thats a problem of parser.

P.S. Bitbucket have a problems, so i cant make a new issue more than 1 week until it solved. Not sure it will not raise again sometimes…

Comments (1)

  1. Log in to comment