File: issue854.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 (43 lines) | stat: -rw-r--r-- 547 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
-- cue.mod/module.cue --
module: "mod.test"
language: version: "v0.9.0"
-- a.cue --
package a

import "mod.test/b"

theb: b.name
-- b/b.cue --
package b

import "mod.test/c"

b: c.c & {
	other: "name"
}

name: b.other
-- c/c.cue --
package c
-- out/compile --
--- a.cue
{
  theb: 〈import;"mod.test/b"〉.name
}
-- out/eval/stats --
Leaks:  4
Freed:  2
Reused: 0
Allocs: 6
Retain: 8

Unifications: 6
Conjuncts:    8
Disjuncts:    8
-- out/eval --
(struct){
  theb: (_|_){
    // [incomplete] b: undefined field: c:
    //     ./b/b.cue:5:6
  }
}