we get "BCE0055: Internal compiler error: Index was outside the bounds of the array"
when compiling an assignation of a callable (method/function) to a callable variable / parameter with a different number of parameters.
eg:
callable MyCallable(i as int) as string
// note incorrect nbr of params vs MyCallable(
def func2(i as int, a as string) as void:
print i, a
call as MyCallable = func2