> On Nov 11, 2019, at 1:25 PM, Sven Barth via fpc-pascal
> wrote:
>
> Generics are not considered supported with Objective Pascal types.
>
There's really not any reason they shouldn't though. If you specialized with
"string" for example that wouldn't be anything out of the ordinary so why
Ryan Joseph via fpc-pascal schrieb am
Mo., 11. Nov. 2019, 19:21:
> Is this a bug I should report? Knowing what I do about generics now I
> think the type check needs to be suspended until the type is actually
> specialized.
>
Generics are not considered supported with Objective Pascal types.
Re
Is this a bug I should report? Knowing what I do about generics now I think the
type check needs to be suspended until the type is actually specialized.
{$mode objfpc}
{$modeswitch objectivec2}
program test;
type
generic TCocoaObject = objcclass (NSObject)
// ERROR: The type "TCocoaObjec