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 62ecb0f6b45b7335da35c79c0b387b0cc2a43ec1 Author: Josh Tynjala <[email protected]> AuthorDate: Tue Mar 16 12:02:57 2021 -0700 playerglobalc: Function is missing prototype property --- .../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 6a3cfa5..dd85cf7 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 @@ -108,6 +108,7 @@ class PLAYERGLOBALC implements FlexTool { } private static final Map<String, List<String>> EXTRA_MEMBERS = new HashMap<String, List<String>>(); { + EXTRA_MEMBERS.put("Function", Arrays.asList("public var prototype:Object")); EXTRA_MEMBERS.put("flash.display.DisplayObjectContainer", Arrays .asList("public native function removeChildren(beginIndex:int = 0, endIndex:int = 0x7fffffff):void")); EXTRA_MEMBERS.put("flash.display.Graphics", Arrays.asList(
