File tree Expand file tree Collapse file tree 3 files changed +19
-21
lines changed Expand file tree Collapse file tree 3 files changed +19
-21
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,6 @@ type action struct {
56
56
needAnalyzeSource bool
57
57
}
58
58
59
- func (act * action ) String () string {
60
- return fmt .Sprintf ("%s@%s" , act .a , act .pkg )
61
- }
62
-
63
59
func (act * action ) waitUntilDependingAnalyzersWorked () {
64
60
for _ , dep := range act .deps {
65
61
if dep .pkg == act .pkg {
Original file line number Diff line number Diff line change @@ -16,10 +16,28 @@ import (
16
16
"reflect"
17
17
"time"
18
18
19
- "github.com/golangci/golangci-lint/pkg/goanalysis/pkgerrors"
20
19
"golang.org/x/tools/go/analysis"
20
+
21
+ "github.com/golangci/golangci-lint/pkg/goanalysis/pkgerrors"
21
22
)
22
23
24
+ // NOTE(ldez) no alteration.
25
+ type objectFactKey struct {
26
+ obj types.Object
27
+ typ reflect.Type
28
+ }
29
+
30
+ // NOTE(ldez) no alteration.
31
+ type packageFactKey struct {
32
+ pkg * types.Package
33
+ typ reflect.Type
34
+ }
35
+
36
+ // NOTE(ldez) no alteration.
37
+ func (act * action ) String () string {
38
+ return fmt .Sprintf ("%s@%s" , act .a , act .pkg )
39
+ }
40
+
23
41
// NOTE(ldez) altered version of `func (act *action) execOnce()`.
24
42
func (act * action ) analyze () {
25
43
defer close (act .analysisDoneCh ) // unblock actions depending on this action
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments