Generic interface crash compiler
Original Reporter info from Mantis: merlin2100
-
Reporter name: Merlin Green
Original Reporter info from Mantis: merlin2100
- Reporter name: Merlin Green
Description:
The following code crashes compiler (unhandled access violation exception)
{$interfaces corba}
type
MyInterface = interface
end;
generic MyGenInterface<_T> = interface
procedure MyProc(x:_T);
end;
MyGenInterface_Pointer = specialize MyGenInterface&LtPos;Pointer>;
MyClass = class(MyInterface,MyGenInterface_Pointer)
procedure MyProc(x:Pointer);
end;
procedure MyClass.MyProc(x:Pointer);
begin
end;
Mantis conversion info:
- Mantis ID: 16100
- Platform: win32 i386
- Version: 2.4.0
- Fixed in version: 2.6.0
- Fixed in revision: 16477 (#f570934b)
- Monitored by: » alexionne (Aleksa Todorovic)