mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 22:14:25 +02:00
compiler: fix nested class types
git-svn-id: trunk@14616 -
This commit is contained in:
parent
6e51a4d4a9
commit
55702ed4c0
@ -1252,7 +1252,8 @@ implementation
|
|||||||
begin
|
begin
|
||||||
p1.free;
|
p1.free;
|
||||||
p1:=ctypenode.create(ttypesym(sym).typedef);
|
p1:=ctypenode.create(ttypesym(sym).typedef);
|
||||||
if not(block_type in [bt_type,bt_const_type,bt_var_type]) then
|
if (is_class(ttypesym(sym).typedef) or is_objcclass(ttypesym(sym).typedef)) and
|
||||||
|
not(block_type in [bt_type,bt_const_type,bt_var_type]) then
|
||||||
p1:=cloadvmtaddrnode.create(p1);
|
p1:=cloadvmtaddrnode.create(p1);
|
||||||
end;
|
end;
|
||||||
constsym:
|
constsym:
|
||||||
|
Loading…
Reference in New Issue
Block a user