Fixes #6299 Error messages in 'directives' were split across multiple lines and not properly concatenated, which led to truncated messages.