nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
typing: allow `new` on interface and abstract classes that have a `new`-factory
[nit.git]
/
src
/
semantize
/
auto_super_init.nit
diff --git
a/src/semantize/auto_super_init.nit
b/src/semantize/auto_super_init.nit
index
13d2b78
..
25874e2
100644
(file)
--- a/
src/semantize/auto_super_init.nit
+++ b/
src/semantize/auto_super_init.nit
@@
-206,7
+206,6
@@
redef class ASendExpr
redef fun accept_auto_super_init(v)
do
var mproperty = self.callsite.mproperty
- if mproperty == null then return
if mproperty.is_init then
v.has_explicit_super_init = self
end