mirror of
https://github.com/CPunch/Cosmo.git
synced 2024-11-22 07:20:05 +00:00
forgot to update this a while back
This commit is contained in:
parent
c34c5850e2
commit
5169aca6d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user