2
0
Эх сурвалжийг харах

Revert unintended commit.

git-svn-id: branches/svenbarth/arc@28869 -
svenbarth 10 жил өмнө
parent
commit
8b7f561408

+ 1 - 2
compiler/psub.pas

@@ -278,8 +278,7 @@ implementation
         { occurs                                                            }
         { occurs                                                            }
         if (tsym(p).typ=localvarsym) and
         if (tsym(p).typ=localvarsym) and
            (tlocalvarsym(p).refs>0) and
            (tlocalvarsym(p).refs>0) and
-           is_managed_type(tlocalvarsym(p).vardef) and
-           not (vo_is_weakref in tlocalvarsym(p).varoptions) then
+           is_managed_type(tlocalvarsym(p).vardef) then
           begin
           begin
             include(current_procinfo.flags,pi_needs_implicit_finally);
             include(current_procinfo.flags,pi_needs_implicit_finally);
             if is_rtti_managed_type(tlocalvarsym(p).vardef) and
             if is_rtti_managed_type(tlocalvarsym(p).vardef) and