diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-08-31 16:47:17 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-09-04 18:25:06 +0000 |
commit | a0a702cd9a315946a1b35dfe54d2dc965210ab6e (patch) | |
tree | cd383fe4bbe2dec3daccee659937af7fdcd850d6 /src/qml/compiler/qv4compilerscanfunctions_p.h | |
parent | 367adf6666c47cb4e1ee7b299f69b4d7da8823ee (diff) |
Always generate a context if an inner function uses super
Change-Id: I4215c215a28da6855d946dec8727c0c4f0acb933
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compilerscanfunctions_p.h')
-rw-r--r-- | src/qml/compiler/qv4compilerscanfunctions_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4compilerscanfunctions_p.h b/src/qml/compiler/qv4compilerscanfunctions_p.h index 53b2336cb1..2e016b25b1 100644 --- a/src/qml/compiler/qv4compilerscanfunctions_p.h +++ b/src/qml/compiler/qv4compilerscanfunctions_p.h @@ -115,6 +115,7 @@ protected: bool visit(AST::ExpressionStatement *ast) override; bool visit(AST::FunctionExpression *ast) override; bool visit(AST::TemplateLiteral *ast) override; + bool visit(AST::SuperLiteral *) override; bool enterFunction(AST::FunctionExpression *ast, bool enterName); |