- changed status to invalid
IEvent<T> and no generics support
Issue #149
invalid
in Spring.pas we have the following lines:
{$IFDEF SUPPORTS_GENERIC_EVENTS}
Event<T> = record
private
IEvent<T> = interface(IEvent)
{$REGION 'Property Accessors'}
function GetInvoke: T;
function GetCount: Integer;
So in other words the type Event<T>
would not be compiled if compiler does not have generics, but the type iEvent<T>
would be compiled even by pre-generics compiler :-)
Guess If-Def guard is to be extended to interface type too
Comments (1)
-
repo owner - Log in to comment
You misunderstood the define - look into Spring.inc to understand what it means.