diff options
author | Moonchild <moonchild@palemoon.org> | 2020-07-04 23:12:13 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-07-04 23:12:13 +0000 |
commit | 2dff89b658d6ab2592865c226f3f1078f418151d (patch) | |
tree | d616be09d75333065416cb35432eac7b821c4aa9 /js/src/js.msg | |
parent | d637d99eefa1ce5acb120c04efd4a7247241da59 (diff) | |
download | UXP-2dff89b658d6ab2592865c226f3f1078f418151d.tar UXP-2dff89b658d6ab2592865c226f3f1078f418151d.tar.gz UXP-2dff89b658d6ab2592865c226f3f1078f418151d.tar.lz UXP-2dff89b658d6ab2592865c226f3f1078f418151d.tar.xz UXP-2dff89b658d6ab2592865c226f3f1078f418151d.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/js.msg')
-rw-r--r-- | js/src/js.msg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/js.msg b/js/src/js.msg index ee74c8dd5..9c508ebbd 100644 --- a/js/src/js.msg +++ b/js/src/js.msg @@ -573,10 +573,10 @@ MSG_DEF(JSMSG_REINIT_THIS, 0, JSEXN_REFERENCEERR, "super() called twice in // Modules MSG_DEF(JSMSG_BAD_DEFAULT_EXPORT, 0, JSEXN_SYNTAXERR, "default export cannot be provided by export *") -MSG_DEF(JSMSG_MISSING_INDIRECT_EXPORT, 1, JSEXN_SYNTAXERR, "indirect export '{0}' not found") -MSG_DEF(JSMSG_AMBIGUOUS_INDIRECT_EXPORT, 1, JSEXN_SYNTAXERR, "ambiguous indirect export '{0}'") -MSG_DEF(JSMSG_MISSING_IMPORT, 1, JSEXN_SYNTAXERR, "import '{0}' not found") -MSG_DEF(JSMSG_AMBIGUOUS_IMPORT, 1, JSEXN_SYNTAXERR, "ambiguous import '{0}'") +MSG_DEF(JSMSG_MISSING_INDIRECT_EXPORT, 0, JSEXN_SYNTAXERR, "indirect export not found") +MSG_DEF(JSMSG_AMBIGUOUS_INDIRECT_EXPORT, 0, JSEXN_SYNTAXERR, "ambiguous indirect export") +MSG_DEF(JSMSG_MISSING_IMPORT, 0, JSEXN_SYNTAXERR, "import not found") +MSG_DEF(JSMSG_AMBIGUOUS_IMPORT, 0, JSEXN_SYNTAXERR, "ambiguous import") MSG_DEF(JSMSG_MISSING_NAMESPACE_EXPORT, 0, JSEXN_SYNTAXERR, "export not found for namespace") MSG_DEF(JSMSG_MISSING_EXPORT, 1, JSEXN_SYNTAXERR, "local binding for export '{0}' not found") MSG_DEF(JSMSG_MODULE_INSTANTIATE_FAILED, 0, JSEXN_INTERNALERR, "attempt to re-instantiate module after failure") |