From 9b9ecfaf24f523e818642e8670742a1198e15261 Mon Sep 17 00:00:00 2001 From: Anna Rift Date: Thu, 13 Jun 2024 13:50:09 -0700 Subject: [PATCH] Use new bundled type lookup for ChapelTuple._tuple Signed-off-by: Anna Rift --- frontend/lib/types/TupleType.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/lib/types/TupleType.cpp b/frontend/lib/types/TupleType.cpp index 21d1a39e9e9e..58ab14b9dbbb 100644 --- a/frontend/lib/types/TupleType.cpp +++ b/frontend/lib/types/TupleType.cpp @@ -20,6 +20,7 @@ #include "chpl/types/TupleType.h" #include "chpl/framework/query-impl.h" +#include "chpl/parsing/parsing-queries.h" #include "chpl/resolution/intents.h" #include "chpl/types/Param.h" @@ -98,9 +99,8 @@ TupleType::getTupleType(Context* context, const TupleType* instantiatedFrom, QUERY_BEGIN(getTupleType, context, instantiatedFrom, subs, isVarArgTuple); - auto symbolPath = UniqueString::get(context, "ChapelTuple._tuple"); auto name = UniqueString::get(context, "_tuple"); - auto id = ID(symbolPath, -1, 0); + auto id = parsing::getSymbolFromTopLevelModule(context, "ChapelTuple", "_tuple"); auto result = toOwned(new TupleType(id, name, instantiatedFrom, std::move(subs), isVarArgTuple));