aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compileddata_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-09-30 09:41:35 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-30 18:23:17 +0200
commit23793482e9b187441203fb629b459245c504dfba (patch)
tree193d26239f7235ed2d0926f63b97b5b532c3b48b /src/qml/compiler/qv4compileddata_p.h
parent7df73c27121149c36a6c8a21850d85728ea79ad5 (diff)
Fix invalid alias error reporting in new compiler
Match exactly the VME code path by reporting the right type of error as well as the right hand side of the alias binding if necessary. Change-Id: I35d192a20641e0acbf25d20f3dc5fb53cc7cbae5 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4compileddata_p.h')
-rw-r--r--src/qml/compiler/qv4compileddata_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h
index 91860864d0..5159ac5a06 100644
--- a/src/qml/compiler/qv4compileddata_p.h
+++ b/src/qml/compiler/qv4compileddata_p.h
@@ -336,6 +336,7 @@ struct Property
quint32 aliasPropertyValueIndex;
quint32 flags; // readonly
Location location;
+ Location aliasLocation; // If type == Alias
};
struct Object