mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 00:09:26 +02:00
compiler: report full nested type name on error
git-svn-id: trunk@15121 -
This commit is contained in:
parent
fe00762d4b
commit
e721a623eb
@ -1568,7 +1568,10 @@ implementation
|
|||||||
var
|
var
|
||||||
s1,s2 : string;
|
s1,s2 : string;
|
||||||
begin
|
begin
|
||||||
s1:=def.typename;
|
if def.typ=objectdef then
|
||||||
|
s1:=tobjectdef(def).RttiName
|
||||||
|
else
|
||||||
|
s1:=def.typename;
|
||||||
{ When the names are the same try to include the unit name }
|
{ When the names are the same try to include the unit name }
|
||||||
if assigned(otherdef) and
|
if assigned(otherdef) and
|
||||||
(def.owner.symtabletype in [globalsymtable,staticsymtable]) then
|
(def.owner.symtabletype in [globalsymtable,staticsymtable]) then
|
||||||
|
Loading…
Reference in New Issue
Block a user