aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/parser
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-04-14 10:07:29 +0200
committerLars Knoll <lars.knoll@qt.io>2018-05-02 14:19:15 +0000
commita9380c15a4528b065ec1782fc3a53c25139a3917 (patch)
treee0efde8ec87b185a26a59f1e5a07b2e04f22d525 /src/qml/parser
parentd622f3f62131efc2f1f949b4cddcea09cff4d6e5 (diff)
Correctly iterate over the base of a TaggedTemplate
Change-Id: I2ff1d238998e752c75e9136c1d392b407ea57fec Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/parser')
-rw-r--r--src/qml/parser/qqmljsast.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/parser/qqmljsast.cpp b/src/qml/parser/qqmljsast.cpp
index c86fb24e82..114aa4a830 100644
--- a/src/qml/parser/qqmljsast.cpp
+++ b/src/qml/parser/qqmljsast.cpp
@@ -1219,6 +1219,7 @@ void UiEnumMemberList::accept0(Visitor *visitor)
void TaggedTemplate::accept0(Visitor *visitor)
{
if (visitor->visit(this)) {
+ accept(base, visitor);
accept(templateLiteral, visitor);
}