internal/core/adt: handle nested pending arcs
When a comprehension had multiple nested fixed
fields, the type of the node was not properly updated
if a node had only fixed arcs (so no dynamic fields
and no embeddings).
With this change we explicitly track these cases,
and whether this may result in an error.
Fixes #3729
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I9bacc04c53da6bc0923bdaedba359d9823b73309
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1211617
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Matthew Sackman <matthew@cue.works>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>