diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-14 09:00:53 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-14 09:00:53 +0200 |
commit | 8af513a2072d7f808f03a44b32130ff6ffcd7daa (patch) | |
tree | 1f7728915b9cde803b6058166204c5e4d7c738d7 /js/src/builtin/ModuleObject.cpp | |
parent | c60cefb1b02be321f56f64dcccc6d6b7670e4293 (diff) | |
download | uxp-8af513a2072d7f808f03a44b32130ff6ffcd7daa.tar.gz |
Bug 1341411 - Support circular module dependencies through export* per ES2017
Diffstat (limited to 'js/src/builtin/ModuleObject.cpp')
-rw-r--r-- | js/src/builtin/ModuleObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/builtin/ModuleObject.cpp b/js/src/builtin/ModuleObject.cpp index 7d22042598..333cb3e11b 100644 --- a/js/src/builtin/ModuleObject.cpp +++ b/js/src/builtin/ModuleObject.cpp @@ -994,7 +994,7 @@ GlobalObject::initModuleProto(JSContext* cx, Handle<GlobalObject*> global) static const JSFunctionSpec protoFunctions[] = { JS_SELF_HOSTED_FN("getExportedNames", "ModuleGetExportedNames", 1, 0), - JS_SELF_HOSTED_FN("resolveExport", "ModuleResolveExport", 3, 0), + JS_SELF_HOSTED_FN("resolveExport", "ModuleResolveExport", 2, 0), JS_SELF_HOSTED_FN("declarationInstantiation", "ModuleDeclarationInstantiation", 0, 0), JS_SELF_HOSTED_FN("evaluation", "ModuleEvaluation", 0, 0), JS_FS_END |