JS: Only call errorReporter.failed() w/at least 1 unexpected error
ceylon/ceylon-js#233