cuelang.org/go@v0.10.1/internal/core/export/testdata/selfcontained/alldef.txtar (about)

     1  #path: #a.b
     2  
     3  No need to have an indirection to create a reference if the enclosing value
     4  is already a definition.
     5  
     6  -- in.cue --
     7  #def: {
     8  	a: 1
     9  }
    10  
    11  #a: b: c: #def
    12  -- out/self/default --
    13  
    14  _#def
    15  _#def: {
    16  	c: {
    17  		a: 1
    18  	}
    19  }