Codetool fails in inherited nested class.
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
unti1:
type
TFoo = class
protected type
TBar = class
procedure SomeBar1; virtual;
end;
end;
program or other unit
type
TFooNew = class(TFoo)
protected type
TBar2 = TBar;
TBarNew = class(TBar2) // Fpc 3.0.4 can not use TBar here, but accepts TBar2
//SomeB // Code complete
//procedure SomeBar1; override; // Class complete
end;
end;
Any work on TBarNew2 leads to
project1.lpr(8,13) Error: identifier not found: TBar
Mantis conversion info:
- Mantis ID: 37687
- OS: win 10
- OS Build: 10
- Platform: 64bit Intel
- Version: 2.1 (SVN)
- Monitored by: » @martin_frb (Martin Friebe)