Property definitions

nitc :: typing $ ANode :: accept_post_typing
	private fun accept_post_typing(v: TypeVisitor) do end
src/semantize/typing.nit:952,2--54

nitc :: typing $ AIsaExpr :: accept_post_typing
	redef fun accept_post_typing(v)
	do
		v.check_expr_cast(self, self.n_expr, self.n_type)
	end
src/semantize/typing.nit:1856,2--1859,4

nitc :: typing $ AAsCastExpr :: accept_post_typing
	redef fun accept_post_typing(v)
	do
		v.check_expr_cast(self, self.n_expr, self.n_type)
	end
src/semantize/typing.nit:1880,2--1883,4

nitc :: typing $ AAsNotnullExpr :: accept_post_typing
	redef fun accept_post_typing(v)
	do
		var mtype = n_expr.mtype
		if mtype == null then return
		v.check_can_be_null(n_expr, mtype)
	end
src/semantize/typing.nit:1904,2--1909,4

nitc :: typing $ AOrElseExpr :: accept_post_typing
	redef fun accept_post_typing(v)
	do
		var t1 = n_expr.mtype
		if t1 == null then
			return
		else
			v.check_can_be_null(n_expr, t1)
		end
	end
src/semantize/typing.nit:1567,2--1575,4

nitc :: typing $ AEqFormExpr :: accept_post_typing
	redef fun accept_post_typing(v)
	do
		var mtype = n_expr.mtype
		var mtype2 = n_expr2.mtype

		if mtype == null or mtype2 == null then return

		if mtype == v.type_bool(self) and (n_expr2 isa AFalseExpr or n_expr2 isa ATrueExpr) then
			v.display_warning(self, "useless-truism", "Warning: useless comparison to a Bool literal.")
		end

		if not mtype2 isa MNullType then return

		v.check_can_be_null(n_expr, mtype)
	end
src/semantize/typing.nit:2075,2--2089,4