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.

304:    struct Backend_struct *backend =    get_storage(backend_object, Backend_program);    if (!backend) -  SIMPLE_BAD_ARG_ERROR("set_backend", 1, "Pike.Backend"); +  SIMPLE_ARG_TYPE_ERROR("set_backend", 1, "Pike.Backend");    change_backend_for_box(&THIS->box, backend);    }