A DiagnosticWriter emits diagnostics somehow.
| 163 | |
| 164 | // A DiagnosticWriter emits diagnostics somehow. |
| 165 | type DiagnosticWriter interface { |
| 166 | WriteDiagnostic(*Diagnostic) error |
| 167 | WriteDiagnostics(Diagnostics) error |
| 168 | } |
| 169 | |
| 170 | // DiagnosticExtraUnwrapper is an interface implemented by values in the |
| 171 | // Extra field of Diagnostic when they are wrapping another "Extra" value that |
no outgoing calls
no test coverage detected