aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-11-19 00:31:04 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-19 07:57:45 +0100
commitcac9989643d54b15ea0b8e53889336b429e4504d (patch)
tree35211bbb4829385c2c91d4296b2a9d4e5929030b /src/qml/compiler/qv4codegen_p.h
parentda31479ee237a40ed03bcaf1352f00d33d1f325c (diff)
Fix failing assertion when trying to assign to an id referenced QML object
References to id addressed QML objects are member expressions, which are unlike other member expressions by not being lvalues. Handle this correctly. Task-Number: QTBUG-34890 Change-Id: Ied6230edbc561128ad36bf0d1a1918185204deec Reviewed-by: Lars Knoll <lars.knoll@digia.com>
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 0bac996349..de22e8904b 100644
--- a/src/qml/compiler/qv4codegen_p.h
+++ b/src/qml/compiler/qv4codegen_p.h
@@ -460,6 +460,7 @@ protected:
QStack<V4IR::BasicBlock *> _exceptionHandlers;
bool _strictMode;
+ bool _fileNameIsUrl;
bool hasError;
QList<QQmlError> _errors;