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/develop Commit: 2a40650e34056ffdd08d79da1dd24e9e682c7ea3 Parents: 5e8e9cb Author: Josh Tynjala <[email protected]> Authored: Tue Mar 29 15:44:34 2016 -0700 Committer: Josh Tynjala <[email protected]> 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) {
