back2dos / tinkerbell

MIT License
83 stars 8 forks source link

Tests for automatic super generation #11

Closed Simn closed 12 years ago

Simn commented 12 years ago

The only downside is that all optional arguments of Base become mandatory, but there's nothing we can do about it.

back2dos commented 12 years ago

Thanks. I will look into whether this restriction can be lifted. In the meantime, nothing is to stop users to implement constructors themselves ;)

Simn commented 12 years ago

It could to some extent be lifted by reversing the argument order. Currently the constructor expects the parent constructor's arguments first, followed by the child constructor ones. I think that might be a reasonable change.