...

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

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

     1-- in.cue --
     2a: 12
     3#Controller: settings: {
     4	controller: #Controller
     5}
     6-- out/eval/stats --
     7Leaks:  0
     8Freed:  5
     9Reused: 1
    10Allocs: 4
    11Retain: 0
    12
    13Unifications: 5
    14Conjuncts:    5
    15Disjuncts:    5
    16-- out/eval --
    17Errors:
    18#Controller.settings.controller: structural cycle
    19
    20Result:
    21(_|_){
    22  // [structural cycle]
    23  a: (int){ 12 }
    24  #Controller: (_|_){
    25    // [structural cycle]
    26    settings: (_|_){
    27      // [structural cycle]
    28      controller: (_|_){
    29        // [structural cycle] #Controller.settings.controller: structural cycle
    30      }
    31    }
    32  }
    33}
    34-- out/compile --
    35--- in.cue
    36{
    37  a: 12
    38  #Controller: {
    39    settings: {
    40      controller: ă€ˆ2;#Controller〉
    41    }
    42  }
    43}

View as plain text