From c91d3a8893b9c53c5c8e4c5cff72d7caf44cfee4 Mon Sep 17 00:00:00 2001 From: A404M Date: Fri, 30 May 2025 22:01:19 +0330 Subject: fixing some minor issues --- code/lib/types.felan | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/lib/types.felan') diff --git a/code/lib/types.felan b/code/lib/types.felan index 8c0cbf1..df7f5c3 100644 --- a/code/lib/types.felan +++ b/code/lib/types.felan @@ -2,7 +2,7 @@ string :: []u8; array :: (comptime size:u64, comptime t:type) -> type { return struct { - ptr : t; - size : i32 : size; + ptr : *t; + size : @type_of(size) : size; }; }; -- cgit v1.2.3