X-Git-Url: http://nitlanguage.org diff --git a/src/model/model.nit b/src/model/model.nit index 0357df2..49f4171 100644 --- a/src/model/model.nit +++ b/src/model/model.nit @@ -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}