Browse Source

* Patch from Henrique Werlang to move TArray (bug ID 37759)

michael 4 years ago
parent
commit
2fdece6eab
2 changed files with 2 additions and 2 deletions
  1. 2 0
      packages/rtl/system.pas
  2. 0 2
      packages/rtl/sysutils.pas

+ 2 - 0
packages/rtl/system.pas

@@ -98,6 +98,8 @@ type
                     coLingCasing, coDigitAsNumbers, coStringSort});
   TCompareOptions = set of TCompareOption;
 
+  generic TArray<T> = array of T;
+
 {*****************************************************************************
             TObject, TClass, IUnknown, IInterface, TInterfacedObject
 *****************************************************************************}

+ 0 - 2
packages/rtl/sysutils.pas

@@ -655,8 +655,6 @@ Function EncodeHTMLEntities (S : String) : String;
   ---------------------------------------------------------------------}
 
 Type
-
-  generic TArray<T> = array of T;
   TCharArray = Array of char;
 
   TByteBitIndex = 0..7;