Revert last commit. (aebc008d0472...)

It seems that last commit resulted in diagnostics only being output on compilation error.