Merge branch 'super_init_call'
authorJean Privat <jean@pryen.org>
Thu, 27 Feb 2014 13:34:41 +0000 (08:34 -0500)
committerJean Privat <jean@pryen.org>
Thu, 27 Feb 2014 13:34:41 +0000 (08:34 -0500)
commit78383b90c06493d868c15291bca17334a68d1204
treee6ac4fbed29d604868dc130ef6243bfdc1e02345
parentb5548a81789d697809611f3c0cf789f5b3acfd4c
parentb3075d86c057e40b70d051537350eabeb7788472
Merge branch 'super_init_call'

Current uses of explicit and implicit `super` in constructors are not
checked.

1. this series add required static verification (in `typing` and
`auto_super_int`) on the super init call (and remove two TODO).
2. the correct argument passing is implemented in the engines for the
super init calls
3. assertions are added in engines to check that the number of arguments
matches the number of parameters
4. tests are also provided (or updated)

This series is required to fix the current implementation so that the
implementation of the new style constructors can go on.
src/abstract_compiler.nit