Improve error message

Issue #62 resolved
Christian Budde created an issue

The following code:

procedure Test(const Foo: string);
begin
end;

var FooBar: procedure(Foo: string) := @Test;

will result in an obvious error as the types mismatch. Unfortunately this isn't perfectly clear by the error message:

Syntax Error: Incompatible types: "procedure(String)" and "procedure(String)".

Comments (2)

  1. Log in to comment