cannot call class method in nested static class method
Original Reporter info from Mantis: BeniBela @benibela
-
Reporter name: Benito van der Zander
Original Reporter info from Mantis: BeniBela @benibela
- Reporter name: Benito van der Zander
Description:
This program fails to compile with an illegal expression error in the call of c1
program staticclassnested;
type
TTest = class
class procedure c1();
class procedure c2(); static;
end;
class procedure TTest.c1;
begin
end;
class procedure TTest.c2;
procedure nested;
begin
c1;
end;
begin
end;
begin
end.
Mantis conversion info:
- Mantis ID: 24865
- OS: Debian
- OS Build: wheezy
- Build: 2.6.2 [2013/03/23] for x86_64
- Platform: amd64
- Version: 2.6.2
- Fixed in version: 3.0.0
- Fixed in revision: 25274 (#5c33644e)