| 1 |
-- in.cue -- |
| 2 |
a: b: { |
| 3 |
for x in b {} |
| 4 |
|
| 5 |
x: { |
| 6 |
c: m |
| 7 |
d: y |
| 8 |
e: f |
| 9 |
f: 1 |
| 10 |
// TODO: should we return non-existing references? If so, how? |
| 11 |
g: b.z |
| 12 |
} |
| 13 |
y: 3 |
| 14 |
} |
| 15 |
|
| 16 |
m: 3 |
| 17 |
-- out/dependencies/field -- |
| 18 |
line reference path of resulting vertex |
| 19 |
-- out/dependencies/all -- |
| 20 |
line reference path of resulting vertex |
| 21 |
5: m => m |
| 22 |
-- out/dependencies/dynamic -- |
| 23 |
line reference path of resulting vertex |
| 24 |
5: m => m |
| 25 |
6: y => a.b.y |
| 26 |
7: f => a.b.x.f |
| 27 |
10: b => a.b |
| 28 |
-- out/dependencies-v3/stats/field -- |
| 29 |
// COUNT: 1 |
| 30 |
-- out/dependencies-v3/stats/all -- |
| 31 |
// COUNT: 7 |
| 32 |
-- out/dependencies-v3/stats/dynamic -- |
| 33 |
// COUNT: 13 |