Explorar el Código

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

git-svn-id: trunk@23561 -

Jonas Maebe hace 12 años
padre
commit
185f71762f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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