From 2d0e63f706c07833b18ada1ad1124afbf9aae2d8 Mon Sep 17 00:00:00 2001 From: CPunch Date: Sun, 28 May 2023 21:16:30 -0500 Subject: [PATCH] forgot to update this a while back --- examples/getters_setters.cosmo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/getters_setters.cosmo b/examples/getters_setters.cosmo index 7887a4e..f5131ac 100644 --- a/examples/getters_setters.cosmo +++ b/examples/getters_setters.cosmo @@ -1,13 +1,13 @@ let object = { __setter = [ - "field1" = function(self, val) + "field1" = func(self, val) print("setter for field1 called!") self.x = val end ], __getter = [ - "field1" = function(self) + "field1" = func(self) print("getter for field1 called!") return self.x + 1