You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/04/11 15:59:31 UTC

[04/50] git commit: [flex-falcon] [refs/heads/feature/maven-migration] - FunctionCallEmitter: source map includes Language into calls that require it

FunctionCallEmitter: source map includes Language into calls that require it


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/2a40650e
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/2a40650e
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/2a40650e

Branch: refs/heads/feature/maven-migration
Commit: 2a40650e34056ffdd08d79da1dd24e9e682c7ea3
Parents: 5e8e9cb
Author: Josh Tynjala <jo...@apache.org>
Authored: Tue Mar 29 15:44:34 2016 -0700
Committer: Josh Tynjala <jo...@apache.org>
Committed: Tue Mar 29 15:44:34 2016 -0700

----------------------------------------------------------------------
 .../flex/compiler/internal/codegen/js/jx/FunctionCallEmitter.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2a40650e/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/FunctionCallEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/FunctionCallEmitter.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/FunctionCallEmitter.java
index 9c4d225..ab36794 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/FunctionCallEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/jx/FunctionCallEmitter.java
@@ -146,10 +146,12 @@ public class FunctionCallEmitter extends JSSubEmitter implements ISubEmitter<IFu
                         ICompilerProject project = this.getProject();
                         if (project instanceof FlexJSProject)
                             ((FlexJSProject) project).needLanguage = true;
+                        getEmitter().startMapping(node.getNameNode());
                         write(JSFlexJSEmitterTokens.LANGUAGE_QNAME);
                         write(ASEmitterTokens.MEMBER_ACCESS);
                         if (isInt)
                             write(JSFlexJSEmitterTokens.UNDERSCORE);
+                        getEmitter().endMapping(node.getNameNode());
                     }
                     else if (def instanceof AppliedVectorDefinition)
                     {