Internal error 121120001
Original Reporter info from Mantis: kazalex
-
Reporter name: Kazantsev Alexey
Original Reporter info from Mantis: kazalex
- Reporter name: Kazantsev Alexey
Description:
when i try get offset of VTblPtr for IInterface without method call i get internal error
Steps to reproduce:
program project1;
var
offset : Integer;
o : TObject;
begin
// OK
o := TObject(1);
offset := PtrInt(IInterface(TInterfacedObject(o))) - 1;
//
// project1.lpr(17,19) Error: Internal error 121120001
offset := PtrInt(IInterface(TInterfacedObject(1))) - 1;
end.
Mantis conversion info:
- Mantis ID: 31596
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 35655 (#0cf5ef45)