This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit f5ec3ad6efcf760161e39c310ee32e3096a9d087 Author: Alex Harui <[email protected]> AuthorDate: Mon Aug 13 11:39:01 2018 -0700 coercions return null if input is null --- .../Language/src/main/royale/org/apache/royale/utils/Language.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2ba7f5a..2a3a8ce 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 @@ -74,7 +74,7 @@ package org.apache.royale.utils itIs = Language.is(leftOperand, rightOperand); - if (!itIs && coercion) + if (!itIs && coercion && leftOperand) { message = 'Type Coercion failed';
