flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject svn commit: r1455292 - /flex/falcon/trunk/compiler.js/src/org/apache/flex/compiler/internal/as/codegen/JSGeneratingReducer.java
Date Mon, 11 Mar 2013 19:22:16 GMT
Author: erikdebruin
Date: Mon Mar 11 19:22:16 2013
New Revision: 1455292

URL: http://svn.apache.org/r1455292
Log:
Added a cast to fix an error that crept into the code on a recent commit to Falcon/FalconJx.

Modified:
    flex/falcon/trunk/compiler.js/src/org/apache/flex/compiler/internal/as/codegen/JSGeneratingReducer.java

Modified: flex/falcon/trunk/compiler.js/src/org/apache/flex/compiler/internal/as/codegen/JSGeneratingReducer.java
URL: http://svn.apache.org/viewvc/flex/falcon/trunk/compiler.js/src/org/apache/flex/compiler/internal/as/codegen/JSGeneratingReducer.java?rev=1455292&r1=1455291&r2=1455292&view=diff
==============================================================================
--- flex/falcon/trunk/compiler.js/src/org/apache/flex/compiler/internal/as/codegen/JSGeneratingReducer.java
(original)
+++ flex/falcon/trunk/compiler.js/src/org/apache/flex/compiler/internal/as/codegen/JSGeneratingReducer.java
Mon Mar 11 19:22:16 2013
@@ -5571,7 +5571,7 @@ public class JSGeneratingReducer
 
         // name = Pattern typedVariableExpression
         VariableExpressionNode var_expr_node = (VariableExpressionNode)iNode;
-        BaseVariableNode var_node = var_expr_node.getTargetVariable();
+        BaseVariableNode var_node = (BaseVariableNode)var_expr_node.getTargetVariable();
         String varType = bindingToString(iNode, var_type, false, true);
         usedTypes.add(removeRootName(varType));
         this.makeVariable(var_node, currentScope, var_name, var_type, null);



Mime
View raw message