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

yishayw 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 dd52e6f  Removing conditional binding since it and closing compiler 
bug #143
     new 9ac0f6f  Merge branch 'develop' of 
https://gitbox.apache.org/repos/asf/royale-asjs into develop
dd52e6f is described below

commit dd52e6f4643025fa96f1179c3b3ee2d296f39e34
Author: DESKTOP-RH4S838\Yishay <[email protected]>
AuthorDate: Fri Apr 10 21:44:38 2020 +0300

    Removing conditional binding since it and closing compiler bug #143
---
 .../src/main/royale/org/apache/royale/utils/Language.as | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git 
a/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as
 
b/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as
index ab0ca81..086d772 100644
--- 
a/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as
+++ 
b/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as
@@ -271,23 +271,6 @@ package org.apache.royale.utils
         }
         
         /**
-         * Checks for null before returning a closure
-         *
-         * @param fn The method on the instance.
-         * @param object The instance.
-         * @param boundMethodName The name to use to cache the closure.
-         * @return The closure, or null.
-         *
-         * @royaleignorecoercion Function
-         */
-        static public function conditionalClosure(fn:Function, object:Object, 
boundMethodName:String):Function
-        {
-            if (fn == null)
-                return null;
-            return Language.closure(fn, object, boundMethodName);
-        }
-        
-        /**
          * caches closures and returns the one closure
          *
          * @param fn The method on the instance.

Reply via email to