Hello,
I need to restrict a generic type to accept specialization only of enum types. In Delphi, I can do that using "T: record", but, when I try to use it in FPC (even using mode delphi), I got:
project1.lpr(16,42) Error: Record type expectedSmall project to reproduce the error in attachment.
Is this a normal behavior of the compiler, or is my code a erroneous approach?
Thank you!
