summaryrefslogtreecommitdiffstats
path: root/js/src/builtin/ReflectParse.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-07-04 23:12:13 +0000
committerMoonchild <moonchild@palemoon.org>2020-07-10 18:31:06 +0000
commit83abc5af599d4531c68c2e7a84caab9545854594 (patch)
tree86f593eb6b8e2dc977ed8d132ffdb8cf98b0aebf /js/src/builtin/ReflectParse.cpp
parent47101f49c08b04c84029c1d05a9ee9a4b3ea921d (diff)
downloadUXP-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/builtin/ReflectParse.cpp')
-rw-r--r--js/src/builtin/ReflectParse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/builtin/ReflectParse.cpp b/js/src/builtin/ReflectParse.cpp
index a8065d6d1..5cb81355f 100644
--- a/js/src/builtin/ReflectParse.cpp
+++ b/js/src/builtin/ReflectParse.cpp
@@ -3741,7 +3741,7 @@ reflect_parse(JSContext* cx, uint32_t argc, Value* vp)
if (!module)
return false;
- ModuleBuilder builder(cx, module);
+ ModuleBuilder builder(cx, module, parser.tokenStream);
ModuleSharedContext modulesc(cx, module, &cx->global()->emptyGlobalScope(), builder);
pn = parser.moduleBody(&modulesc);
if (!pn)