diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-09-03 09:31:47 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-09-05 12:57:41 +0000 |
commit | fa74444ed06e4db21b0e9829a5832b886b39d372 (patch) | |
tree | 0bc352c539e164f15ccfe7fbb1db1dd7226a5bec /src/qml/compiler/qv4compilercontext_p.h | |
parent | 76f410452dd09489cc48197a0dd4d0bf95699647 (diff) |
fix accesses to this in arrow functions
Change-Id: I4c0cfc3a120fc0b246760886b576e92d3f7623ff
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compilercontext_p.h')
-rw-r--r-- | src/qml/compiler/qv4compilercontext_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4compilercontext_p.h b/src/qml/compiler/qv4compilercontext_p.h index 3df0aa6b3a..8713b0a188 100644 --- a/src/qml/compiler/qv4compilercontext_p.h +++ b/src/qml/compiler/qv4compilercontext_p.h @@ -201,6 +201,7 @@ struct Context { bool isArrowFunction = false; bool isGenerator = false; bool usesThis = false; + bool innerFunctionAccessesThis = false; bool hasTry = false; bool returnsClosure = false; mutable bool argumentsCanEscape = false; |