File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ type Instance struct {
5757 Err errors.Error // non-nil if the package had errors
5858
5959 inst * build.Instance
60-
61- // complete bool // for cycle detection
6260}
6361
6462type hiddenInstance = Instance
@@ -245,7 +243,6 @@ func Merge(inst ...*Instance) *Instance {
245243
246244 p := addInst (i .index , & Instance {
247245 root : v ,
248- // complete: true,
249246 })
250247 return p
251248}
@@ -280,8 +277,6 @@ func (inst *hiddenInstance) Build(p *build.Instance) *Instance {
280277 i .setListOrError (err )
281278 }
282279
283- // i.complete = true
284-
285280 return i
286281}
287282
Original file line number Diff line number Diff line change @@ -66,9 +66,7 @@ type index struct {
6666 builtinPaths map [string ]PackageFunc // Full path
6767 builtinShort map [string ]string // Commandline shorthand
6868
69- // mutex sync.Mutex
7069 typeCache sync.Map // map[reflect.Type]evaluated
71-
7270}
7371
7472func newIndex () * index {
You can’t perform that action at this time.
0 commit comments