resultDisagreedWithExpectedTypeFunction

fun resultDisagreedWithExpectedTypeFunction(): A_Function

Answer the function to invoke whenever the value produced by a method send disagrees with the type expected.

The function takes the function that's attempting to return, the expected return type, and a new variable holding the actual result being returned (or unassigned if it was nil).

Return

The requested function.