internal/core/adt: always mark let in comprehension as "complete"
Issue 2481 exposed that evaluation of let fields in
comprehensions may leave then as "ArcPending". The post-processing
code will then remove these arcs, causing the evaluation to fail.
We now always mark them as "Member". This may lead to let fields
that are erroneous, but that is fine as they are not considered
for the validity of a result, and having multiple let fields
(multi-mode) is already allowed anyway.
Fixes #2481
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I2eeb4755c9b5c2834859f21b68178d663a2839b9
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/557023
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>