Browse Source

* non-resolved methods are not written. Mantis 13846(laz) / 14798(fpc)

git-svn-id: trunk@14115 -
marco 15 năm trước cách đây
mục cha
commit
e018effcd2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      rtl/objpas/classes/writer.inc

+ 1 - 1
rtl/objpas/classes/writer.inc

@@ -953,7 +953,7 @@ begin
         if (not Handled) and
           (MethodValue.Code <> DefMethodValue.Code) and
           ((not Assigned(MethodValue.Code)) or
-          ((Length(FLookupRoot.MethodName(MethodValue.Code)) >= 0))) then
+          ((Length(FLookupRoot.MethodName(MethodValue.Code)) > 0))) then
         begin
           Driver.BeginProperty(FPropPath + PPropInfo(PropInfo)^.Name);
           if Assigned(MethodValue.Code) then