argumentTypeMismatch

fun argumentTypeMismatch(call: FunctionCall<*>, parameter: FunctionParameter, found: Any?): Nothing

Reports that found cannot satisfy parameter. Public because coerce is inline and has to reach it from generated call sites.

Parameters

call

the call being executed

parameter

the parameter that could not accept the value

found

the offending value