github.com/joomcode/cue@v0.4.4-0.20221111115225-539fe3512047/tools/trim/testdata/definitions.txtar (about)

     1  #Issue #558
     2  
     3  -- in.cue --
     4  #Foo: {
     5  	bar: int
     6  	baz: 2
     7  }
     8  foo: #Foo & {
     9  	bar: 1
    10  	baz: 2
    11  }
    12  -- out/trim --
    13  == in.cue
    14  #Foo: {
    15  	bar: int
    16  	baz: 2
    17  }
    18  foo: #Foo & {
    19  	bar: 1
    20  }