diff --git a/tests/outputs/class.lua b/tests/outputs/class.lua index a8c9d32..899e17b 100644 --- a/tests/outputs/class.lua +++ b/tests/outputs/class.lua @@ -443,4 +443,13 @@ CoolSuper = (function() }) _base_0.__class = _class_0 return _class_0 -end)() \ No newline at end of file +end)() +x = self.hello +x = self.__class.hello +self:hello("world") +self.__class:hello("world") +self.__class:one(self.__class:two(4, 5)(self.three, self.four)) +local xx +xx = function(hello, world, cool) + self.hello, self.__class.world = hello, world +end \ No newline at end of file