Branch: Tag:

2016-01-26

2016-01-26 19:38:42 by Martin Nilsson <nilsson@fastmail.com>

SIMPLE_BAD_ARG_ERROR is only kept for compatibility, but we still had 500+ uses of it.

1995:    SIMPLE_TOO_FEW_ARGS_ERROR("create", 1);    }    if (!callablep(Pike_sp - args)) { -  SIMPLE_BAD_ARG_ERROR("create", 1, "function"); +  SIMPLE_ARG_TYPE_ERROR("create", 1, "function");    }       if (thread_state->status != THREAD_NOT_STARTED) {