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 17e24281f0ca9851e962a5d83cd885017cc0a8e7 Author: Josh Tynjala <[email protected]> AuthorDate: Mon Feb 4 10:26:12 2019 -0800 VarDeclarationEmitter: added a description to help indicate that it is for local variables only --- .../royale/compiler/internal/codegen/js/jx/VarDeclarationEmitter.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/VarDeclarationEmitter.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/VarDeclarationEmitter.java index 01c4a6f..b149de8 100644 --- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/VarDeclarationEmitter.java +++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/VarDeclarationEmitter.java @@ -44,6 +44,10 @@ import org.apache.royale.compiler.tree.as.IExpressionNode; import org.apache.royale.compiler.tree.as.INumericLiteralNode; import org.apache.royale.compiler.tree.as.IVariableNode; +/** + * Local variable in a function. For member and static variables of a class, see + * FieldEmitter instead. + */ public class VarDeclarationEmitter extends JSSubEmitter implements ISubEmitter<IVariableNode> {
