* implementation of fix from r22376 without using introspection

git-svn-id: trunk@22446 -
This commit is contained in:
Jonas Maebe 2012-09-23 21:25:39 +00:00
parent 1a97e61619
commit 944c1172ee

View File

@ -1739,7 +1739,7 @@ implementation
case n.nodetype of
loadn:
begin
if tloadnode(n).symtableentry.inheritsfrom(tabstractvarsym) and
if (tloadnode(n).symtableentry.typ in [localvarsym,paravarsym,staticvarsym]) and
(tabstractvarsym(tloadnode(n).symtableentry).varoptions * [vo_is_dll_var, vo_is_thread_var] = []) and
not assigned(tloadnode(n).left) and
((tloadnode(n).symtableentry <> rr^.ressym) or