Hi Team,
Please find below code, While declaring interface getting error(Type mismatch, cannot assign “T” to “T”).
NonWorkingInterface<T> = interface
function GetSubject: T;
property Subject: T read GetSubject; // Error (E62) Type mismatch, cannot assign "T" to "T"
end;
WorkingInterface<T> = interface
function GetSubject: T;
property Subject: T read;
end;
Thanks