Explorar el Código

* tarraydef.setelementdef: don't call size for array constructors as they'll only have one once they're converted to dynamic arrays

git-svn-id: trunk@36089 -
svenbarth hace 8 años
padre
commit
5f8135dd84
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      compiler/symdef.pas

+ 1 - 0
compiler/symdef.pas

@@ -3866,6 +3866,7 @@ implementation
         if not(
                (ado_IsDynamicArray in arrayoptions) or
                (ado_IsConvertedPointer in arrayoptions) or
+               (ado_IsConstructor in arrayoptions) or
                (highrange<lowrange)
 	      ) and
            (size=-1) then