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

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

git-svn-id: trunk@23561 -

Jonas Maebe 12 жил өмнө
parent
commit
185f71762f

+ 1 - 1
compiler/jvm/pjvm.pas

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