| # DO NOT EDIT; generated by go run testdata/gen.go |
| # |
| raw: true |
| -- in.cue -- |
| {a: >=0 & <=10, b: "Count: \(a) times"} |
| -- out/def -- |
| a: >=0 & <=10 |
| b: "Count: \(a) times" |
| -- out/compile -- |
| --- in.cue |
| { |
| { |
| a: (>=0 & <=10) |
| b: "Count: \(ć0;ać) times" |
| } |
| } |
| -- out/eval -- |
| Errors: |
| invalid interpolation: cannot use *adt.Conjunction (type number) as type string: |
| ./in.cue:1:20 |
| |
| Result: |
| (_|_){ |
| // [eval] |
| a: (number){ &(>=0, <=10) } |
| b: (_|_){ |
| // [eval] invalid interpolation: cannot use *adt.Conjunction (type number) as type string: |
| // ./in.cue:1:20 |
| } |
| } |