From 4ddf7a88c94805603ae341347fe98eb7d7f276d9 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 3 Feb 2023 23:13:51 -0600 Subject: [PATCH] [nostalgia/foundation] Make transformRule include type params in type id --- src/nostalgia/foundation/typeconv.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/foundation/typeconv.hpp b/src/nostalgia/foundation/typeconv.hpp index 92bcc3de..fad5e612 100644 --- a/src/nostalgia/foundation/typeconv.hpp +++ b/src/nostalgia/foundation/typeconv.hpp @@ -154,7 +154,7 @@ ox::Result convertBuffToBuff(foundation::Context *ctx, const ox::Buf template auto transformRule(foundation::Context *ctx, ox::Buffer *buff) -> ox::Error { oxRequire(hdr, ox::readClawHeader(*buff)); - const auto typeId = ox::buildTypeId(hdr.typeName, hdr.typeVersion); + const auto typeId = ox::buildTypeId(hdr.typeName, hdr.typeVersion, hdr.typeParams); if (typeId == ox::buildTypeId()) { oxReturnError(foundation::convertBuffToBuff(ctx, *buff, fmt).moveTo(buff)); }