...

Text file src/cuelang.org/go/cue/testdata/export/019.txtar

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

     1# DO NOT EDIT; generated by go run testdata/gen.go
     2#
     3raw: true
     4-- in.cue --
     5{a: >=0 & <=10, b: "Count: \(a) times"}
     6-- out/def --
     7a: >=0 & <=10
     8b: "Count: \(a) times"
     9-- out/compile --
    10--- in.cue
    11{
    12  {
    13    a: (>=0 & <=10)
    14    b: "Count: \(怈0;a怉) times"
    15  }
    16}
    17-- out/eval/stats --
    18Leaks:  0
    19Freed:  3
    20Reused: 1
    21Allocs: 2
    22Retain: 0
    23
    24Unifications: 3
    25Conjuncts:    9
    26Disjuncts:    3
    27-- out/eval --
    28(struct){
    29  a: (number){ &(>=0, <=10) }
    30  b: (_|_){
    31    // [incomplete] b: invalid interpolation: non-concrete value >=0 & <=10 (type number):
    32    //     ./in.cue:1:20
    33  }
    34}

View as plain text