...

Text file src/cuelang.org/go/internal/core/export/testdata/selfcontained/alldef.txtar

Documentation: cuelang.org/go/internal/core/export/testdata/selfcontained

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

View as plain text