nitc :: MClassDef :: bound_mtype
For a non-generic class, bound_mtype
and mclass.mclass_type
are the same type.
Example:
For the classdef Array[E: Object], the bound_mtype is Array[Object].
If you want Array[E], then see mclass.mclass_type
ENSURE: bound_mtype.mclass == self.mclass
# The bounded type associated to the mclassdef
#
# For a non-generic class, `bound_mtype` and `mclass.mclass_type`
# are the same type.
#
# Example:
# For the classdef Array[E: Object], the bound_mtype is Array[Object].
# If you want Array[E], then see `mclass.mclass_type`
#
# ENSURE: `bound_mtype.mclass == self.mclass`
var bound_mtype: MClassType
src/model/model.nit:649,2--659,28