cuelang.org/go@v0.10.1/cue/testdata/export/issue854.txtar (about)

     1  -- cue.mod/module.cue --
     2  module: "mod.test"
     3  language: version: "v0.9.0"
     4  -- a.cue --
     5  package a
     6  
     7  import "mod.test/b"
     8  
     9  theb: b.name
    10  -- b/b.cue --
    11  package b
    12  
    13  import "mod.test/c"
    14  
    15  b: c.c & {
    16  	other: "name"
    17  }
    18  
    19  name: b.other
    20  -- c/c.cue --
    21  package c
    22  -- out/compile --
    23  --- a.cue
    24  {
    25    theb: 〈import;"mod.test/b"〉.name
    26  }
    27  -- out/eval/stats --
    28  Leaks:  4
    29  Freed:  2
    30  Reused: 0
    31  Allocs: 6
    32  Retain: 8
    33  
    34  Unifications: 6
    35  Conjuncts:    8
    36  Disjuncts:    8
    37  -- out/eval --
    38  (struct){
    39    theb: (_|_){
    40      // [incomplete] b: undefined field: c:
    41      //     ./b/b.cue:5:6
    42    }
    43  }