this repo has no description
0
fork

Configure Feed

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

internal/core/adt: remove a piece of code in isClosed only needed for evalv2

As suggested by the TODO. In a separate commit, for easier bisection
if it ends up causing any issues.

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ibcf344340885bbf037156cb1620872ffa3b2d57e
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1220046
Reviewed-by: Marcel van Lohuizen <mpvl@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>

-6
-6
internal/core/adt/closed.go
··· 165 165 if v.ClosedRecursive || v.ClosedNonRecursive { 166 166 return true 167 167 } 168 - // TODO(evalv3): this can be removed once we delete the evalv2 code. 169 - for _, s := range v.Structs { 170 - if s.IsClosed { 171 - return true 172 - } 173 - } 174 168 return false 175 169 } 176 170