-- in.cue --
import (
	"foo.com/bar"
	"foo.com/bar:baz"
	"other.org/p@v1"
	"other.org/p@v2:q"
)
refs: [
	bar,
	baz,
	p,
	q,
]
-- out/resolve/in --
7[refs]: Scope: 0[<nil>] Node: 0[]
8[bar]:  Scope: 0[<nil>] Node: 2["foo.com/bar"]
9[baz]:  Scope: 0[<nil>] Node: 3["foo.com/bar:baz"]
10[p]:   Scope: 0[<nil>] Node: 4["other.org/p@v1"]
11[q]:   Scope: 0[<nil>] Node: 5["other.org/p@v2:q"]
