...

Text file src/cuelang.org/go/cue/testdata/cycle/015_reference_across_tuples_and_back.txtar

Documentation: cuelang.org/go/cue/testdata/cycle

     1# DO NOT EDIT; generated by go run testdata/gen.go
     2#
     3#name: reference across tuples and back
     4#evalPartial
     5-- in.cue --
     6a: {c: b.e, d: b.f}
     7b: {e: 3, f: a.c}
     8-- out/def --
     9a: {
    10	c: 3
    11	d: 3
    12}
    13b: {
    14	e: 3
    15	f: 3
    16}
    17-- out/export --
    18a: {
    19	c: 3
    20	d: 3
    21}
    22b: {
    23	e: 3
    24	f: 3
    25}
    26-- out/yaml --
    27a:
    28  c: 3
    29  d: 3
    30b:
    31  e: 3
    32  f: 3
    33-- out/json --
    34{"a":{"c":3,"d":3},"b":{"e":3,"f":3}}
    35-- out/legacy-debug --
    36<0>{a: <1>{c: 3, d: 3}, b: <2>{e: 3, f: 3}}
    37-- out/compile --
    38--- in.cue
    39{
    40  a: {
    41    c: 〈1;b〉.e
    42    d: 〈1;b〉.f
    43  }
    44  b: {
    45    e: 3
    46    f: 〈1;a〉.c
    47  }
    48}
    49-- out/eval/stats --
    50Leaks:  0
    51Freed:  7
    52Reused: 1
    53Allocs: 6
    54Retain: 8
    55
    56Unifications: 7
    57Conjuncts:    12
    58Disjuncts:    12
    59-- out/eval --
    60(struct){
    61  a: (struct){
    62    c: (int){ 3 }
    63    d: (int){ 3 }
    64  }
    65  b: (struct){
    66    e: (int){ 3 }
    67    f: (int){ 3 }
    68  }
    69}

View as plain text