internal/core/adt: fix stack overflow with comprehensions
The issue was that evaluating an arc in the source of a
comprehension resulted in infinite recursion. The call
to unify that is removed can be removed, as it is already
called in the block above when it is necessary.
This is not a full fix, but is something that will be easier
to fix in the new evaluator.
Fixes #2367
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: Ibcab74235097180094284f249750c3c0ec5d2845
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/557011
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
authored by