Browse Source

* fixed automatic setter generation if only a setter and no getter prefix
has been specified

git-svn-id: trunk@23561 -

Jonas Maebe 12 năm trước cách đây
mục cha
commit
185f71762f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/jvm/pjvm.pas

+ 1 - 1
compiler/jvm/pjvm.pas

@@ -892,7 +892,7 @@ implementation
             (getter and
              (prop_auto_getter_prefix<>'')) or
             (not getter and
-             (prop_auto_getter_prefix<>''));
+             (prop_auto_setter_prefix<>''));
           sym:=nil;
           procoptions:=[];
           if explicitwrapper then