diff --git a/internal/core/adt/eval.go b/internal/core/adt/eval.go index 20420475709..bb8dc55dd5d 100644 --- a/internal/core/adt/eval.go +++ b/internal/core/adt/eval.go @@ -1391,7 +1391,7 @@ func (n *nodeContext) addVertexConjuncts(env *Environment, closeInfo CloseInfo, // is necessary to prevent lookups in unevaluated structs. // TODO(cycles): this can probably most easily be fixed with a // having a more recursive implementation. - n.ctx.Unify(arc, AllArcs) + n.ctx.Unify(arc, Partial) } for _, c := range arc.Conjuncts { diff --git a/internal/core/export/testdata/adt.txtar b/internal/core/export/testdata/adt.txtar index 218f2ba500c..a53bddd1f56 100644 --- a/internal/core/export/testdata/adt.txtar +++ b/internal/core/export/testdata/adt.txtar @@ -8,7 +8,6 @@ p1: [X=string]: name: X d1: "foo\(bar)": int bar: "bar" -// XXX: reference not resolving. d2: C="foo\(bar)": { name: "xx" foo: C.name @@ -227,8 +226,6 @@ errorListDef: { [d1 foobar] [bar] [d2] -- XXX: reference not resolving. - [d2 foobar] [d2 foobar name] [d2 foobar foo] @@ -309,8 +306,6 @@ _|_ // e3: index out of range [2] with length 2 foobar: int } bar: "bar" - - // XXX: reference not resolving. d2: { foobar: { name: "xx"