Change onCodeAction telemetry reporting so zero diagnostics is success
kanej opened this issue · comments
John Kane commented
Our quickfixes are currently based on the errors/warnings that solc uses. We read the attached diagnostics for the current cursor position then generate quickfixes from those. Currently if there are no diagnostics we generate a precondition_failed
in our telemetry, this should be an ok
instead, as having no diagnostics just means the answer to how many quickfixes are available is 0.