浏览代码

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

michael 5 年之前
父节点
当前提交
2fdece6eab
共有 2 个文件被更改,包括 2 次插入2 次删除
  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;