Misleading error

Issue #47 resolved
Christian Budde created an issue

For the code below:

procedure Test(Data: array of Float);
begin
  [...]
end;

Test([1.2, 2.2);

the error message is 'Syntax Error: ")" expected.'

This is misleading as instead a ']' is expected. Not sure if this is really that easy or even possible to fix, but if so, it should be done.

Comments (1)

  1. Log in to comment