mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 14:28:39 +09:00
Follow up: A opening bracket { was added; Added "function()->explicitName()" instead of "function()->name()"
Issue #78
This commit is contained in:
parent
2c3fecf0f3
commit
1fd083e81c
2 changed files with 2 additions and 2 deletions
|
|
@ -838,7 +838,7 @@ Parser<ParseHandler>::reportBadReturn(Node pn, ParseReportKind kind,
|
|||
unsigned errnum, unsigned anonerrnum)
|
||||
{
|
||||
JSAutoByteString name;
|
||||
if (JSAtom* atom = pc->functionBox()->function()->name()) {
|
||||
if (JSAtom* atom = pc->functionBox()->function()->explicitName()) {
|
||||
if (!AtomToPrintableString(context, atom, &name))
|
||||
return false;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue