diff options
Diffstat (limited to 'src/qml/parser/qqmljsast.cpp')
| -rw-r--r-- | src/qml/parser/qqmljsast.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/parser/qqmljsast.cpp b/src/qml/parser/qqmljsast.cpp index f20fe016ff..09e396369a 100644 --- a/src/qml/parser/qqmljsast.cpp +++ b/src/qml/parser/qqmljsast.cpp @@ -129,7 +129,7 @@ FormalParameterList *ExpressionNode::reparseAsFormalParameterList(MemoryPool *po { AST::ExpressionNode *expr = this; AST::FormalParameterList *f = nullptr; - if (AST::Expression *commaExpr = AST::cast<AST::Expression *>(expr)) { + if (AST::CommaExpression *commaExpr = AST::cast<AST::CommaExpression *>(expr)) { f = commaExpr->left->reparseAsFormalParameterList(pool); if (!f) return nullptr; @@ -713,7 +713,7 @@ void ConditionalExpression::accept0(BaseVisitor *visitor) visitor->endVisit(this); } -void Expression::accept0(BaseVisitor *visitor) +void CommaExpression::accept0(BaseVisitor *visitor) { if (visitor->visit(this)) { accept(left, visitor); |
