mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-26 15:02:46 +00:00
import from UXP: Issue #2173 - Follow-up: Use common ancestor of PNK_(OPT)DOT in ASTSerializer::expression (e31a058c)
This commit is contained in:
@@ -3163,7 +3163,7 @@ ASTSerializer::expression(ParseNode* pn, MutableHandleValue dst)
|
||||
case PNK_OPTDOT:
|
||||
case PNK_DOT:
|
||||
{
|
||||
PropertyAccess* prop = &pn->as<PropertyAccess>();
|
||||
PropertyAccessBase* prop = &pn->as<PropertyAccessBase>();
|
||||
MOZ_ASSERT(prop->pn_pos.encloses(prop->expression().pn_pos));
|
||||
|
||||
RootedValue expr(cx);
|
||||
|
||||
Reference in New Issue
Block a user