nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a09b6eb
)
modelize: remove restriction on concrete class in intializer collect
author
Jean Privat
<jean@pryen.org>
Wed, 3 Jun 2015 15:24:55 +0000
(11:24 -0400)
committer
Jean Privat
<jean@pryen.org>
Tue, 9 Jun 2015 00:46:14 +0000
(20:46 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/modelize/modelize_property.nit
patch
|
blob
|
history
diff --git
a/src/modelize/modelize_property.nit
b/src/modelize/modelize_property.nit
index
3ecbdd5
..
1afce19
100644
(file)
--- 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