From 91577d71ac636f8889422bc74274a01fef6723f6 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 1 Jun 2022 09:46:48 +0200 Subject: QtQml: Move idIndex into bitfield union of Alias Since we can now add a member that covers the whole storage, we can clean this up a bit. Change-Id: I707f1f3706d68a073d4b0f4937c352bd3df34335 Reviewed-by: Thiago Macieira Reviewed-by: Marc Mutz Reviewed-by: Fabian Kosmale Reviewed-by: Andrei Golubev --- src/qml/compiler/qqmlirbuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/compiler/qqmlirbuilder.cpp') diff --git a/src/qml/compiler/qqmlirbuilder.cpp b/src/qml/compiler/qqmlirbuilder.cpp index d5bc17735f..213c73d031 100644 --- a/src/qml/compiler/qqmlirbuilder.cpp +++ b/src/qml/compiler/qqmlirbuilder.cpp @@ -1301,7 +1301,7 @@ bool IRBuilder::appendAlias(QQmlJS::AST::UiPublicMember *node) if (aliasReference.count() < 1 || aliasReference.count() > 3) COMPILE_EXCEPTION(rhsLoc, tr("Invalid alias reference. An alias reference must be specified as , . or ..")); - alias->idIndex = registerString(aliasReference.first()); + alias->setIdIndex(registerString(aliasReference.first())); QString propertyValue = aliasReference.value(1); if (aliasReference.count() == 3) -- cgit v1.2.3