moonscript/tests
leaf corcoran d1059b8f98 class level inheritance, changed class representation slightly
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.
2011-12-03 19:17:06 -08:00
..
error_inputs test cases for error rewriting 2011-07-18 23:39:09 -07:00
inputs super tests, fixed regression when compiling chain dot args 2011-12-03 10:44:41 -08:00
outputs class level inheritance, changed class representation slightly 2011-12-03 19:17:06 -08:00