nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
syntax: removes test "constructor must be invoked before"
[nit.git]
/
src
/
syntax
/
typing.nit
diff --git
a/src/syntax/typing.nit
b/src/syntax/typing.nit
index
3c92473
..
db0b46c
100644
(file)
--- a/
src/syntax/typing.nit
+++ b/
src/syntax/typing.nit
@@
-1622,9
+1622,6
@@
redef class ASuperInitCall
if c == prev_class then
prev_class = null
else if c == cla then
- if prev_class != null then
- v.error(self, "Error: Constructor of {c} must be invoked before constructor of {prev_class}")
- end
esic.add(property)
break
end