X-Git-Url: http://nitlanguage.org diff --git a/src/model/model.nit b/src/model/model.nit index bc4a3bc..3733566 100644 --- a/src/model/model.nit +++ b/src/model/model.nit @@ -603,7 +603,7 @@ class MClassDef # ENSURE: `bound_mtype.mclass == self.mclass` var bound_mtype: MClassType - redef var location: Location + redef var location redef fun visibility do return mclass.visibility @@ -835,14 +835,14 @@ abstract class MType end #print "4.is {sub} a {sup}? <- no more resolution" - if sub isa MBottomType then + if sub isa MBottomType or sub isa MErrorType then return true end assert sub isa MClassType else print_error "{sub}