-- in.cue --
a: b: [for x in c if x.a > 0 {x.a + d}]

c: [{a: 1}, {a: 3}]
d: 2
-- out/dependencies/field --
line  reference    path of resulting vertex
1:    c         => c
1:    d         => d
-- out/dependencies/all --
line  reference    path of resulting vertex
1:    c         => c
1:    d         => d
-- out/dependencies/dynamic --
line  reference    path of resulting vertex
1:    c         => c
1:    d         => d
1:    x.a       => c[0].a
1:    d         => d
1:    x.a       => c[1].a
1:    d         => d
-- out/dependencies-v3/stats/field --
// COUNT: 6
-- out/dependencies-v3/stats/all --
// COUNT: 12
-- out/dependencies-v3/stats/dynamic --
// COUNT: 22
