Access violation caused by invalid array

Issue #48 resolved
Christian Budde created an issue

Here's a simple snippet that causes the compiler to crash with an access violation (variation of case 47).

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

Test([1, Test]);

I know it's nitpicking, but once the compiler crashed I used to restart to avoid data loss. And when writing a lot of code sometimes typos like this occur (though, typically in a more complex context).

Comments (1)

  1. Log in to comment