mirror of
https://github.com/leafo/moonscript.git
synced 2025-01-09 00:04:22 +00:00
d1059b8f98
Looking up a class property will now search the parent class properties if parent exists Classes have a few more built in properties: * __name holds the name of the class as it was defined as a string * __base holds the instance metatable as it was defined (not dynamic) * __parent holds the class's parent class if it exists (not dynamic) The way class inheritance is handled was CHANGED (uses __base instead of looking at __index of parents metatable). Make sure you recompile all your code if using class inheritance because old classes won't work with new ones. |
||
---|---|---|
.. | ||
error_inputs | ||
inputs | ||
outputs |