diff options
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
-rw-r--r-- | src/qml/compiler/qv4codegen.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp index d72162eeb1..45f54f7eb3 100644 --- a/src/qml/compiler/qv4codegen.cpp +++ b/src/qml/compiler/qv4codegen.cpp @@ -634,6 +634,12 @@ bool Codegen::visit(VariableDeclarationList *) return false; } +bool Codegen::visit(ClassExpression *ast) +{ + throwSyntaxError(ast->firstSourceLocation(), QLatin1String("Support for 'class' is unimplemented.")); + return false; +} + bool Codegen::visit(Expression *ast) { if (hasError) |