Skip to content

Commit e8de4b1

Browse files
committed
interanal/core/runtime: remove commented out fields
Change-Id: I887c6b6f458fa410c2f2ebbe8ede527c0296c5f0 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9763 Reviewed-by: CUE cueckoo <[email protected]> Reviewed-by: Marcel van Lohuizen <[email protected]>
1 parent 3b0a537 commit e8de4b1

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

cue/instance.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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

6462
type 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

internal/core/runtime/imports.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

7472
func newIndex() *index {

0 commit comments

Comments
 (0)