arrays: improved compiler error-processing