From 09f52ab0d2c2f8dac226275f54172c7b520237aa Mon Sep 17 00:00:00 2001 From: lisyarus Date: Tue, 28 Jul 2026 23:20:58 +0300 Subject: [PATCH] Support pointers in types::type_size --- libs/types/source/type.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/types/source/type.cpp b/libs/types/source/type.cpp index 2b7ff69..6cb5052 100644 --- a/libs/types/source/type.cpp +++ b/libs/types/source/type.cpp @@ -160,6 +160,9 @@ namespace pslang::types if (std::get_if(&type)) return 0; + if (std::get_if(&type)) + return 8; + if (std::get_if(&type)) return 8;