From: Jean Privat Date: Tue, 14 Jul 2015 19:50:57 +0000 (-0400) Subject: Merge: Better autoinit conflict message X-Git-Tag: v0.7.7~28 X-Git-Url: http://nitlanguage.org Merge: Better autoinit conflict message On ~~~nit class A var x: Int end class B var y: Bool end class C super A super B end ~~~ The error message > a.nit:9,7: Error: conflict for inherited inits a#B#init(y=) and a#A#init(x=) now become > a.nit:9,7: Error: cannot generate automatic init for class C. Conflict in the order in inherited initializers a#B#init(y=) and a#A#init(x=). Use `autoinit` to order initializers. eg `autoinit x=, y=` (fell free to simplify or propose better) Close #1549 Pull-Request: #1568 Reviewed-by: Lucas Bajolet Reviewed-by: Alexandre Terrasa --- 95792f75eb7bd17bb1c7287bc62bf96735550df6