mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-28 01:57:30 +09:00
Issue #2173 - Follow-up: Use common ancestor of PNK_(OPT)DOT in ASTSerializer::expression
This commit is contained in:
parent
a27e8bf989
commit
e31a058ce9
1 changed files with 1 additions and 1 deletions
|
|
@ -3162,7 +3162,7 @@ ASTSerializer::expression(ParseNode* pn, MutableHandleValue dst)
|
||||||
case PNK_OPTDOT:
|
case PNK_OPTDOT:
|
||||||
case PNK_DOT:
|
case PNK_DOT:
|
||||||
{
|
{
|
||||||
PropertyAccess* prop = &pn->as<PropertyAccess>();
|
PropertyAccessBase* prop = &pn->as<PropertyAccessBase>();
|
||||||
MOZ_ASSERT(prop->pn_pos.encloses(prop->expression().pn_pos));
|
MOZ_ASSERT(prop->pn_pos.encloses(prop->expression().pn_pos));
|
||||||
|
|
||||||
RootedValue expr(cx);
|
RootedValue expr(cx);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue