mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 16:19:35 +02:00
* don't try to generate rtti if the type has an error
git-svn-id: trunk@5271 -
This commit is contained in:
parent
a6a300cbbe
commit
99309202bc
@ -553,9 +553,10 @@ implementation
|
||||
hdef.typesym:=newtype;
|
||||
end;
|
||||
|
||||
{ Write tables if we are the typesym that defines
|
||||
this type. This will not be done for simple type renamings }
|
||||
if (hdef.typesym=newtype) then
|
||||
{ Write tables if there are no errors and we are the typesym that
|
||||
defines this type, so this will not be done for simple type renamings }
|
||||
if (hdef.typ<>errordef) and
|
||||
(hdef.typesym=newtype) then
|
||||
begin
|
||||
{ file position }
|
||||
oldfilepos:=current_filepos;
|
||||
|
Loading…
Reference in New Issue
Block a user