Merge: Subtype improvements
authorJean Privat <jean@pryen.org>
Thu, 4 Dec 2014 23:38:40 +0000 (18:38 -0500)
committerJean Privat <jean@pryen.org>
Thu, 4 Dec 2014 23:38:40 +0000 (18:38 -0500)
During the work with the covariance, some bugs with `is_subtype` where identified.

The PR tries to improve the code and fixes those bugs.
It also simplifies the code in the formal types and propose a new `lookup_fixed` method on `MType`.

Pull-Request: #926
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

1  2 
src/model/model.nit
src/modelize/modelize_property.nit

Simple merge
Simple merge