This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 275c3546cf Comment caused NullPointerException (bug in the compiler)
275c3546cf is described below
commit 275c3546cf8779eff1f162622494600370bfded8
Author: Harbs <[email protected]>
AuthorDate: Mon Jun 10 13:38:20 2024 +0300
Comment caused NullPointerException (bug in the compiler)
---
frameworks/projects/XML/src/main/royale/XML.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frameworks/projects/XML/src/main/royale/XML.as
b/frameworks/projects/XML/src/main/royale/XML.as
index f0910bd2ed..c9d79c6d01 100644
--- a/frameworks/projects/XML/src/main/royale/XML.as
+++ b/frameworks/projects/XML/src/main/royale/XML.as
@@ -3221,7 +3221,7 @@ package
if(parseInt(str,10).toString() == name)
throw new TypeError("invalid element name");
- var isAttribute:Boolean = str.charCodeAt(0) == 64;// "@"
+ var isAttribute:Boolean = str.charCodeAt(0) == 64; //
"@"
if(isAttribute)
str = str.slice(1);