-- in.cue --
a: b: {
	for x in b {}

	x: {
		c: m
		d: y
		e: f
		f: 1
		// TODO: should we return non-existing references? If so, how?
		g: b.z
	}
	y: 3
}

m: 3
-- out/dependencies/field --
line  reference    path of resulting vertex
-- out/dependencies/all --
line  reference    path of resulting vertex
5:    m         => m
-- out/dependencies/dynamic --
line  reference    path of resulting vertex
5:    m         => m
6:    y         => a.b.y
7:    f         => a.b.x.f
10:   b         => a.b
