We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb85f8f commit ea5e7c6Copy full SHA for ea5e7c6
gopls/internal/lsp/cache/analysis.go
@@ -1395,14 +1395,6 @@ func requiredAnalyzers(analyzers []*analysis.Analyzer) []*analysis.Analyzer {
1395
return result
1396
}
1397
1398
-func mustEncode(x interface{}) []byte {
1399
- var buf bytes.Buffer
1400
- if err := gob.NewEncoder(&buf).Encode(x); err != nil {
1401
- log.Fatalf("internal error encoding %T: %v", x, err)
1402
- }
1403
- return buf.Bytes()
1404
-}
1405
-
1406
var analyzeSummaryCodec = frob.CodecFor[*analyzeSummary]()
1407
1408
// -- data types for serialization of analysis.Diagnostic and source.Diagnostic --
0 commit comments