Tasmota/lib/libesp32/Berry/tests/overload.be

15 lines
182 B
Plaintext

class test
def init()
self._a = 123
end
def +()
return self._a
end
def ()()
return self._a
end
var _a
end
print(test() + test())