mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 07:08:12 +02:00
* a classrefdef might also be created with a forwarddef, so handle that correctly
git-svn-id: trunk@46850 -
This commit is contained in:
parent
af7008ee2f
commit
d1521e8061
@ -3901,7 +3901,7 @@ implementation
|
||||
|
||||
constructor tclassrefdef.create(def:tdef);
|
||||
begin
|
||||
while tobjectdef(def).is_unique_objpasdef do
|
||||
while (def.typ=objectdef) and tobjectdef(def).is_unique_objpasdef do
|
||||
def:=tobjectdef(def).childof;
|
||||
inherited create(classrefdef,def);
|
||||
if df_specialization in tstoreddef(def).defoptions then
|
||||
|
Loading…
Reference in New Issue
Block a user