From 18ec00e4bb6f61a112563cee9b7d2abf67dd778c Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 3 Jun 2015 11:24:55 -0400 Subject: [PATCH] modelize: remove restriction on concrete class in intializer collect Signed-off-by: Jean Privat --- src/modelize/modelize_property.nit | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/modelize/modelize_property.nit b/src/modelize/modelize_property.nit index 3ecbdd5..1afce19 100644 --- a/src/modelize/modelize_property.nit +++ b/src/modelize/modelize_property.nit @@ -158,9 +158,6 @@ redef class ModelBuilder return end - # Is the class forbid constructors? - if not mclassdef.mclass.kind.need_init then return - # Is there already a constructor defined? var defined_init: nullable MMethodDef = null for mpropdef in mclassdef.mpropdefs do -- 1.7.9.5