[fpc-pascal] Generic<T> compiler error
Marcos Douglas B. Santos
md at delfire.net
Mon Oct 23 12:54:02 CEST 2017
On Sun, Oct 22, 2017 at 11:53 PM, Ryan Joseph
<ryan at thealchemistguild.com> wrote:
>> On Oct 23, 2017, at 9:14 AM, Marcos Douglas B. Santos <md at delfire.net> wrote:
>> How do the same with generic classes, using mode delphi?
> I think you need to specialize then alias the specialize type. Why do you want to make an alias for an untyped generic anyways?
As Marco showed, to do this:
type tttt<x> = anotherunit.tttt<x>;
More information about the fpc-pascal