* pass classes and interfaces by value if const is used, resolves #9674

git-svn-id: trunk@8484 -
This commit is contained in:
florian 2007-09-14 19:26:09 +00:00
parent f5ac7ca9be
commit 039b513d93

View File

@ -160,7 +160,8 @@ unit cpupara;
exit;
end;
case def.typ of
objectdef,
objectdef:
result:=is_object(def) and ((varspez=vs_const) or (def.size=0));
recorddef:
result:=(varspez=vs_const) or (def.size=0);
variantdef,