Support pointers in types::type_size

This commit is contained in:
Nikita Lisitsa 2026-07-28 23:20:58 +03:00
parent 8aec010bd0
commit 09f52ab0d2

View file

@ -160,6 +160,9 @@ namespace pslang::types
if (std::get_if<unit_type>(&type))
return 0;
if (std::get_if<pointer_type>(&type))
return 8;
if (std::get_if<function_type>(&type))
return 8;