Debian Codegraph @

cue/ast/astutil/testdata/resolve/let.txtar

raw
1 -- let.cue --
2 b: X
3 let X = int
4 a: X
5 -- out/resolve/let --
6 3[b]: Scope: 0[<nil>] Node: 0[]
7 4[X]: Scope: 1[*ast.File] Node: 5[let X=int]
8 6[X]: Scope: 0[<nil>] Node: 0[]
9 7[int]: Scope: 0[<nil>] Node: 0[]
10 9[a]: Scope: 0[<nil>] Node: 0[]
11 10[X]: Scope: 1[*ast.File] Node: 5[let X=int]