check Most Common Implicit Cast
fun checkMostCommonImplicitCast(implicitCasts: MutableList<CastExpression?>, implicitCastTargets: List<CastExpression?>)
Checks if the current casts are compatible with the casts necessary to match with a new FunctionDeclaration. If a one argument would need to be cast in two different types it would be modified to a cast to UnknownType
Parameters
implicit Casts
current Cast
implicit Cast Targets
new Cast