File: import.txtar

package info (click to toggle)
golang-github-cue-lang-cue 0.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,644 kB
  • sloc: makefile: 20; sh: 15
file content (19 lines) | stat: -rw-r--r-- 386 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- 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"]