Is the type a MErrorType or contains an MErrorType?

MErrorType are used in result with conflict or inconsistencies.

See is_legal_in to check conformity with generic bounds.

Property definitions

nitc $ MType :: is_ok
	# Is the type a `MErrorType` or contains an `MErrorType`?
	#
	# `MErrorType` are used in result with conflict or inconsistencies.
	#
	# See `is_legal_in` to check conformity with generic bounds.
	fun is_ok: Bool do return true
src/model/model.nit:1150,2--1155,31

nitc $ MProxyType :: is_ok
	redef fun is_ok do return mtype.is_ok
src/model/model.nit:1797,2--38

nitc $ MErrorType :: is_ok
	redef fun is_ok do return false
src/model/model.nit:1955,2--32

nitc $ MGenericType :: is_ok
	redef fun is_ok
	do
		for t in arguments do if not t.is_ok then return false
		return super
	end
src/model/model.nit:1466,2--1470,4