nielsAD / lape

Scripting engine with Pascal-like syntax for FPC and Delphi
119 stars 28 forks source link

Dont allow invoking non-static methods on a type #177

Closed ollydev closed 2 years ago

ollydev commented 2 years ago
procedure Int32.Test;
begin
end;

begin
  Int32.Test();
end.

Now will error with: Compilation error: "Variable expected. "Int32.Test" is not a static method"