Need to check on this compiler error that you can solve by moving the generic class TExceptionThread<T>
from the implementation
section of a unit to the interface
section.
[dcc32 Error] Test.ExceptionLogging.pas(246): E2506 Method of parameterized type declared in interface section must not use local symbol 'TExceptionThread`1'
My gut feeling is that that this either has to do with RTTI generation, or is a limitation of the compiler.
I need to trim that one done since it does not match any of these:
- [WayBack] E2506 Method of parameterized type declared in interface section must not use local symbol ‘%s’ (Delphi) – RAD Studio XE (which is based on a
program
which does not even distinguishinterface
andimplementation
. - [WayBack] delphi – E2506 Method of parameterized type declared in interface section must not use local symbol – Stack Overflow
- [WayBack] Generic musings 2 | The Programming Works
–jeroen