model: `new` factories have a return type.
authorJean Privat <jean@pryen.org>
Wed, 22 Oct 2014 18:56:15 +0000 (14:56 -0400)
committerJean Privat <jean@pryen.org>
Thu, 23 Oct 2014 15:39:44 +0000 (11:39 -0400)
commitaaddffc7785014cdfa398f2470177dabc21775b7
tree46334355b5bb37644db2cec47e924df7d9dbfe53
parent16e518c4178652c812468a794cc1ccf2197b3573
model: `new` factories have a return type.

The default is the definition class, so it remove a special case for
such methods.

Signed-off-by: Jean Privat <jean@pryen.org>
src/astbuilder.nit
src/compiler/abstract_compiler.nit
src/compiler/global_compiler.nit
src/compiler/separate_compiler.nit
src/modelize/modelize_property.nit
src/rapid_type_analysis.nit