aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-06-05 13:07:50 +0200
committerLars Knoll <lars.knoll@qt.io>2018-06-21 13:30:44 +0000
commitce18e987d4ea623c0db6d10f2a97a16b639a234e (patch)
tree793ce0624f971de8015d5580e6c06d2b1a1b9aab /src/qml/compiler/qv4codegen_p.h
parenta12da297946b5a6e767b972bc635a3308683b2e5 (diff)
Fix more issues with destructuring
Fix destructuring targets that are complex lhs expressions. There are still some failures remaining, but this fixes another larger chunk of test cases. Change-Id: Icf08f42d7c70d4e81be5d5d2e27ebe6249d25467 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4codegen_p.h')
-rw-r--r--src/qml/compiler/qv4codegen_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4codegen_p.h b/src/qml/compiler/qv4codegen_p.h
index 39309f78ce..713b040ad1 100644
--- a/src/qml/compiler/qv4codegen_p.h
+++ b/src/qml/compiler/qv4codegen_p.h
@@ -516,6 +516,7 @@ protected:
void variableDeclaration(AST::PatternElement *ast);
void variableDeclarationList(AST::VariableDeclarationList *ast);
+ Reference targetForPatternElement(AST::PatternElement *p);
void initializeAndDestructureBindingElement(AST::PatternElement *e, const Reference &baseRef = Reference());
void destructurePropertyList(const Reference &object, AST::PatternPropertyList *bindingList);
void destructureElementList(const Reference &array, AST::PatternElementList *bindingList);