Merge: Auto super init call next method
authorJean Privat <jean@pryen.org>
Tue, 19 Aug 2014 00:33:07 +0000 (20:33 -0400)
committerJean Privat <jean@pryen.org>
Tue, 19 Aug 2014 00:33:07 +0000 (20:33 -0400)
If one redefines a constructor in a subclass (a real redefinition, not just a look-alike init with the same name) the auto-super-init phase automatically inserted a call to a compatible constructor in the super-class, so a call to itself, so a fatal infinite recursive call :/

It is an old bug, but nobody did real redefinitions of constructors, except that it will be the norm with the new constructors. So just let solve the bug now, before people start to complain.

Pull-Request: #676
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>


Trivial merge