Send diagnostics from the compilation to the client. Do not send empty diagnostics if previous ones were also empty ones.
current compile analysis