so it is not just overloading?
It is.
TProc and
TProc<T> are still overloaded. It's not relevant here that one is generic and the other is not, from the compiler's point of view the
symbol of
TProc is the one that needs to be overloaded.
If I change it to
is may be copy-paste error ? (code is same = mode objfpc)
No, it's no the same, note the
TProcz<T1,T2>