An additional information message to explain the role of a child expression.

The point of the method is to allow some kind of double dispatch so the parent choose how to describe its children.

Property definitions

nitc :: typing $ ANode :: bad_expr_message
	# An additional information message to explain the role of a child expression.
	#
	# The point of the method is to allow some kind of double dispatch so the parent
	# choose how to describe its children.
	private fun bad_expr_message(child: AExpr): nullable String do return null
src/semantize/typing.nit:954,2--958,75

nitc :: typing $ ASendExpr :: bad_expr_message
	redef fun bad_expr_message(child)
	do
		if child == self.n_expr then
			return "to be the receiver of `{self.property_name}`"
		end
		return null
	end
src/semantize/typing.nit:1959,2--1965,4