From 9f19fd4f31932003fa9600bae4b7e65d1f7c051d Mon Sep 17 00:00:00 2001 From: CPunch Date: Tue, 29 Aug 2023 16:51:04 -0500 Subject: [PATCH] fix this test script --- examples/test.cosmo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/test.cosmo b/examples/test.cosmo index e7fa530..3fc3d65 100644 --- a/examples/test.cosmo +++ b/examples/test.cosmo @@ -6,7 +6,7 @@ end // instance of test let obj = test() -test.__index = function(self, key) +test.__index = func(self, key) print("__index called!") if (key == "lol") then return 9001