Undefined sumbol RTTI_DEF
Original Reporter info from Mantis: pcode@mail.ru
-
Reporter name: --
Original Reporter info from Mantis: pcode@mail.ru
- Reporter name: --
Description:
Compiler fails with error "undefined symbol RTTI_&LtPos;unit name>_DEF&LtPos;index>", when meets reference to field of type "procedure(open array)".
Steps to reproduce:
program bug;
{$mode objfpc}
uses bug1;
type
obj = packed object
procedure w( const yy : y );
end;
procedure obj.w( const yy : y );
begin
yy.buggy( [] );
end;
begin
end.
unit bug1;
{$mode objfpc}
interface
type
x = packed object
z : longint;
end;
y = packed record
buggy : procedure( const z: array of x ) of object;
end;
implementation
end.
Additional information:
-l -Mobjfpc -Sh -a -Sc -gl -B
Mantis conversion info:
- Mantis ID: 25128
- Version: 2.6.2