leafo/moonscript — Issue #19: extends example
Author: dvv
Created: 2011-10-15 07:59:07+00:00
State: open

Hi!

I'd like to extend a moonscript class with an ordinary metatable. Say,
`
Base = {__index: ...}
class Foo extends Base
`

What should be `Base` for `extends` to work properly? Or, how can I manually chain them both?

TIA,
--Vladimir