forgot to update this a while back

This commit is contained in:
CPunch 2023-05-28 21:16:30 -05:00 committed by cpunch
parent dfcf0c92b5
commit 2d0e63f706

View File

@ -1,13 +1,13 @@
let object = { let object = {
__setter = [ __setter = [
"field1" = function(self, val) "field1" = func(self, val)
print("setter for field1 called!") print("setter for field1 called!")
self.x = val self.x = val
end end
], ],
__getter = [ __getter = [
"field1" = function(self) "field1" = func(self)
print("getter for field1 called!") print("getter for field1 called!")
return self.x + 1 return self.x + 1