github.com/solo-io/cue@v0.4.7/cue/testdata/export/issue854.txtar (about)

     1  -- cue.mod/module.cue --
     2  module: "mod.com"
     3  -- a.cue --
     4  package a
     5  
     6  import "mod.com/b"
     7  
     8  theb: b.name
     9  -- b/b.cue --
    10  package b
    11  
    12  import "mod.com/c"
    13  
    14  b: c.c & {
    15  	other: "name"
    16  }
    17  
    18  name: b.other
    19  -- c/c.cue --
    20  package c
    21  -- out/compile --
    22  --- a.cue
    23  {
    24    theb: 〈import;"mod.com/b"〉.name
    25  }
    26  -- out/eval --
    27  (struct){
    28    theb: (_|_){
    29      // [incomplete] b: undefined field: c:
    30      //     ./b/b.cue:5:6
    31    }
    32  }