Browse Source

They forgot the overload.

Henrique Gottardi Werlang 3 năm trước cách đây
mục cha
commit
9d0b5468d1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      packages/rtl/js.pas

+ 2 - 2
packages/rtl/js.pas

@@ -880,8 +880,8 @@ type
     FFatal : Boolean; external name 'fatal';
     FIgnoreBOM : Boolean; external name 'ignoreBOM';
   Public
-    Constructor New(utfLabel : String);
-    Constructor New(utfLabel : String; Options : TJSTextDecoderOptions);
+    Constructor New(utfLabel : String); overload;
+    Constructor New(utfLabel : String; Options : TJSTextDecoderOptions); overload;
     Function decode(arr : TJSTypedArray) : String; overload;
     Function decode(arr : TJSArrayBuffer) : String; overload;
     Function decode(arr : TJSTypedArray; opts : TJSTextDecodeOptions) : String; overload;