forked from qt-creator/qt-creator
QmlJS: Make evaluator understand expression statements.
Reviewed-by: Erik Verbruggen
This commit is contained in:
@@ -450,7 +450,7 @@ bool Evaluate::visit(AST::EmptyStatement *)
|
||||
|
||||
bool Evaluate::visit(AST::ExpressionStatement *)
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Evaluate::visit(AST::IfStatement *)
|
||||
|
||||
Reference in New Issue
Block a user