Am 12.08.2013 23:32 schrieb "Maciej Izak" <[email protected]>:
>
> Hi, I have some code (very important for next version of
Generics.Collections):

I don't see a reason to use hacks for such code.

> procedure Foo(A: Pointer);
...

> type
>   TFoo = procedure(const A: TIntegerDynArray);
>
> var
>   Test: TFoo;
> begin
>   Test := @Foo;

I wonder why this combination compiles at all O.o

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to