diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-04 23:12:13 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-10 18:31:06 +0000 |
commit | 83abc5af599d4531c68c2e7a84caab9545854594 (patch) | |
tree | 86f593eb6b8e2dc977ed8d132ffdb8cf98b0aebf /js/src/frontend | |
parent | 47101f49c08b04c84029c1d05a9ee9a4b3ea921d (diff) | |
download | UXP-83abc5af599d4531c68c2e7a84caab9545854594.tar UXP-83abc5af599d4531c68c2e7a84caab9545854594.tar.gz UXP-83abc5af599d4531c68c2e7a84caab9545854594.tar.lz UXP-83abc5af599d4531c68c2e7a84caab9545854594.tar.xz UXP-83abc5af599d4531c68c2e7a84caab9545854594.zip |
Issue #618 - Report source position information (line/column)
Report source position information for module export resolution failures.
Ref: BZ 1362098
Diffstat (limited to 'js/src/frontend')
-rw-r--r-- | js/src/frontend/BytecodeCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/frontend/BytecodeCompiler.cpp b/js/src/frontend/BytecodeCompiler.cpp index ccfe3cd2e..3c2bcc1ed 100644 --- a/js/src/frontend/BytecodeCompiler.cpp +++ b/js/src/frontend/BytecodeCompiler.cpp @@ -405,7 +405,7 @@ BytecodeCompiler::compileModule() module->init(script); - ModuleBuilder builder(cx, module); + ModuleBuilder builder(cx, module, parser->tokenStream); ModuleSharedContext modulesc(cx, module, enclosingScope, builder); ParseNode* pn = parser->moduleBody(&modulesc); if (!pn) |