this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

interanal/core/runtime: remove commented out fields

Change-Id: I887c6b6f458fa410c2f2ebbe8ede527c0296c5f0
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9763
Reviewed-by: CUE cueckoo <cueckoo@gmail.com>
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>

-7
-5
cue/instance.go
··· 57 57 Err errors.Error // non-nil if the package had errors 58 58 59 59 inst *build.Instance 60 - 61 - // complete bool // for cycle detection 62 60 } 63 61 64 62 type hiddenInstance = Instance ··· 245 243 246 244 p := addInst(i.index, &Instance{ 247 245 root: v, 248 - // complete: true, 249 246 }) 250 247 return p 251 248 } ··· 279 276 if err != nil { 280 277 i.setListOrError(err) 281 278 } 282 - 283 - // i.complete = true 284 279 285 280 return i 286 281 }
-2
internal/core/runtime/imports.go
··· 66 66 builtinPaths map[string]PackageFunc // Full path 67 67 builtinShort map[string]string // Commandline shorthand 68 68 69 - // mutex sync.Mutex 70 69 typeCache sync.Map // map[reflect.Type]evaluated 71 - 72 70 } 73 71 74 72 func newIndex() *index {