View Issue Details

IDProjectCategoryView StatusLast Update
0037542pas2jsrtlpublic2020-08-11 13:29
Reporterhenrique Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformPas2JsOSWindows 
Fixed in Versiontrunk 
Summary0037542: Web declaration
DescriptionThe TEventListenerEvent class has the "Entry" property declared differently from the get function implementation, generating build errors.
TagsNo tags attached.
Fixed in Revision821
Attached Files

Activities

henrique

2020-08-10 19:59

reporter  

Web.patch (999 bytes)   
From 864dabee56b5b074560e74d47801e7479e3020ac Mon Sep 17 00:00:00 2001
From: Henrique Gottardi Werlang <henriquewerlang@hotmail.com>
Date: Mon, 10 Aug 2020 14:06:39 -0300
Subject: [PATCH] const no Entry

---
 packages/rtl/web.pas | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/rtl/web.pas b/packages/rtl/web.pas
index 14ca878..ea4b8c3 100644
--- a/packages/rtl/web.pas
+++ b/packages/rtl/web.pas
@@ -3728,7 +3728,7 @@ TEventListenerEvent = class external name 'EventListener_Event' (TJSObject)
     Procedure set_(const aName : String; aBlob : TJSBlob); external name 'set';
     Function getAll(const aName : String) : TJSFormDataEntryValueArray;
     Function values : TJSValueDynArray; reintroduce;
-    Property Entry[aIndex : String] : TJSFormDataEntryValue read Get;
+    Property Entry[const aIndex : String] : TJSFormDataEntryValue read Get;
   end;
 
   TJSHTMLTemplateElement = class external name 'HTMLTemplateElement' (TJSHTMLElement)
-- 
2.28.0.windows.1

Web.patch (999 bytes)   

Michael Van Canneyt

2020-08-11 13:29

administrator   ~0124754

Applied, thank you!

Issue History

Date Modified Username Field Change
2020-08-10 19:59 henrique New Issue
2020-08-10 19:59 henrique File Added: Web.patch
2020-08-11 07:56 Michael Van Canneyt Assigned To => Michael Van Canneyt
2020-08-11 07:56 Michael Van Canneyt Status new => assigned
2020-08-11 13:29 Michael Van Canneyt Status assigned => resolved
2020-08-11 13:29 Michael Van Canneyt Resolution open => fixed
2020-08-11 13:29 Michael Van Canneyt Fixed in Version => trunk
2020-08-11 13:29 Michael Van Canneyt Fixed in Revision => 821
2020-08-11 13:29 Michael Van Canneyt Note Added: 0124754