cuelang.org/go@v0.10.1/cue/testdata/export/020.txtar (about)

     1  # DO NOT EDIT; generated by go run testdata/gen.go
     2  #
     3  raw: true
     4  -- in.cue --
     5  {a: "", b: len(a)}
     6  -- out/def --
     7  a: ""
     8  b: 0
     9  -- out/export --
    10  a: ""
    11  b: 0
    12  -- out/yaml --
    13  a: ""
    14  b: 0
    15  -- out/json --
    16  {"a":"","b":0}
    17  -- out/eval/stats --
    18  Leaks:  0
    19  Freed:  3
    20  Reused: 1
    21  Allocs: 2
    22  Retain: 0
    23  
    24  Unifications: 3
    25  Conjuncts:    4
    26  Disjuncts:    3
    27  -- out/eval --
    28  (struct){
    29    a: (string){ "" }
    30    b: (int){ 0 }
    31  }
    32  -- out/compile --
    33  --- in.cue
    34  {
    35    {
    36      a: ""
    37      b: len(怈0;a怉)
    38    }
    39  }