Compiler: Incorrect coordinates of message "Wrong number of parameters" in methods
> FPC version: ddf7126972 ~~~pascal program Project1; type TTest = class procedure test; end; procedure TTest.test; begin if true then test(1) // real error else // compiler message writeln; end; begin end. ~~~ Reproduced only in class methods. In the usual function the coordinates are correct: ~~~pascal program Project1; procedure test; begin if true then test(1) // compiler message else writeln; end; begin end. ~~~
issue