| 1 |
-- simple.cue -- |
| 2 |
a~X: 1 |
| 3 |
b: X |
| 4 |
c: a |
| 5 |
-- out/resolve/simple -- |
| 6 |
3[a]: Scope: 0[<nil>] Node: 0[] |
| 7 |
4[X]: Scope: 0[<nil>] Node: 0[] |
| 8 |
6[b]: Scope: 0[<nil>] Node: 0[] |
| 9 |
7[X]: Scope: 1[*ast.File] Node: 2[a~X: 1] |
| 10 |
9[c]: Scope: 0[<nil>] Node: 0[] |
| 11 |
10[a]: Scope: 1[*ast.File] Node: 0[1] |
| 12 |
-- dual.cue -- |
| 13 |
a~(K, V): 1 |
| 14 |
b: K |
| 15 |
c: V |
| 16 |
d: a |
| 17 |
-- out/resolve/dual -- |
| 18 |
3[a]: Scope: 0[<nil>] Node: 0[] |
| 19 |
4[K]: Scope: 0[<nil>] Node: 0[] |
| 20 |
5[V]: Scope: 0[<nil>] Node: 0[] |
| 21 |
7[b]: Scope: 0[<nil>] Node: 0[] |
| 22 |
8[K]: Scope: 2[*ast.Field] Node: 4[K] |
| 23 |
10[c]: Scope: 0[<nil>] Node: 0[] |
| 24 |
11[V]: Scope: 1[*ast.File] Node: 2[a~(K, V): 1] |
| 25 |
13[d]: Scope: 0[<nil>] Node: 0[] |
| 26 |
14[a]: Scope: 1[*ast.File] Node: 0[1] |
| 27 |
-- pattern.cue -- |
| 28 |
[string]~X: int |
| 29 |
y: X |
| 30 |
-- out/resolve/pattern -- |
| 31 |
3[string]: Scope: 0[<nil>] Node: 0[] |
| 32 |
4[X]: Scope: 0[<nil>] Node: 0[] |
| 33 |
5[int]: Scope: 0[<nil>] Node: 0[] |
| 34 |
7[y]: Scope: 0[<nil>] Node: 0[] |
| 35 |
8[X]: Scope: 0[<nil>] Node: 0[] |
| 36 |
-- pattern_dual.cue -- |
| 37 |
[string]~(K, V): int |
| 38 |
y: K |
| 39 |
z: V |
| 40 |
-- out/resolve/pattern_dual -- |
| 41 |
3[string]: Scope: 0[<nil>] Node: 0[] |
| 42 |
4[K]: Scope: 0[<nil>] Node: 0[] |
| 43 |
5[V]: Scope: 0[<nil>] Node: 0[] |
| 44 |
6[int]: Scope: 0[<nil>] Node: 0[] |
| 45 |
8[y]: Scope: 0[<nil>] Node: 0[] |
| 46 |
9[K]: Scope: 0[<nil>] Node: 0[] |
| 47 |
11[z]: Scope: 0[<nil>] Node: 0[] |
| 48 |
12[V]: Scope: 0[<nil>] Node: 0[] |