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

     1  -- cue.mod/module.cue --
     2  module: "example.com"
     3  -- foo.cue --
     4  package foo
     5  import "example.com/pkg:bar"
     6  bar
     7  zz: 3
     8  -- pkg/bar.cue --
     9  package bar
    10  import "example.com/pkg:baz"
    11  baz
    12  yy: 2
    13  -- pkg/baz.cue --
    14  package baz
    15  xx: 1
    16  -- out/eval --
    17  (struct){
    18    xx: (int){ 1 }
    19    yy: (int){ 2 }
    20    zz: (int){ 3 }
    21  }
    22  -- out/compile --
    23  --- foo.cue
    24  {
    25    〈import;"example.com/pkg:bar"〉
    26    zz: 3
    27  }