From b8c35952cf609bb99bf52cb70d86ebae2f59b0e2 Mon Sep 17 00:00:00 2001 From: lordlogo2002 Date: Thu, 1 Jan 2026 18:34:25 +0100 Subject: [PATCH] Add function calls and copy methods for type demonstrations in main.lua --- main.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.lua b/main.lua index 63a2576..a2d1ee4 100644 --- a/main.lua +++ b/main.lua @@ -36,6 +36,13 @@ print("Int add:", i + Types.Int(5)) print("Float mul:", f * Types.Float(2.0)) print("Str concat:", s .. Types.Str("!")) print("Bool eq:", b == Types.Bool(true)) +print("Int call:", i()) +print("Float call:", f()) +print("Str call:", s()) +print("Bool call:", b()) +print("Tuple call:", t()) +print("Int copy:", i.copy()) +print("Tuple copy:", t.copy()) attempt("Int mutate", function() i.value = 99