This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git

commit a426d80979d3422f03807963236fce4142b6f96d
Author: Josh Tynjala <joshtynj...@apache.org>
AuthorDate: Tue Mar 16 11:59:34 2021 -0700

    playerglobalc: Array.splice() should be a ...rest method
---
 .../src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
 
b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
index 885d957..6a3cfa5 100644
--- 
a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
+++ 
b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
@@ -76,6 +76,7 @@ class PLAYERGLOBALC implements FlexTool {
        }
        private static final Map<String, List<String>> REST_METHODS = new 
HashMap<String, List<String>>();
        {
+               REST_METHODS.put("Array", Arrays.asList("splice"));
                REST_METHODS.put("__AS3__.vec.Vector$object", 
Arrays.asList("sort"));
                REST_METHODS.put("__AS3__.vec.Vector$double", 
Arrays.asList("sort"));
                REST_METHODS.put("__AS3__.vec.Vector$int", 
Arrays.asList("sort"));

Reply via email to