github.com/joomcode/cue@v0.4.4-0.20221111115225-539fe3512047/cue/testdata/eval/incompleteperm.txtar (about) 1 // Issue #742 2 // Issue #405 3 4 -- in.cue -- 5 // Issue #129 6 permanentlyIncompleteOperands: { 7 a: string + ":" + string 8 a: "golang/go:1.13.5" 9 } 10 11 permanentlyIncompleteOperandsNested: { 12 a: (int + 1) + (int + 1) 13 } 14 15 permanentlyIncompleteOperandsDisjunct: { 16 a: (int + 1) | (int + 1) 17 } 18 19 issue680: (>10 * 2) & 0 20 21 issue405: >=100 <= 200 22 -- out/eval -- 23 permanentlyIncompleteOperands.a: invalid operand string ('+' requires concrete value): 24 ./in.cue:3:5 25 permanentlyIncompleteOperandsNested.a: invalid operand int ('+' requires concrete value): 26 ./in.cue:8:6 27 permanentlyIncompleteOperandsDisjunct.a: invalid operand int ('+' requires concrete value): 28 ./in.cue:12:6 29 issue680: invalid operand >10 ('*' requires concrete value): 30 ./in.cue:15:12 31 issue405: invalid operand >=100 ('<=' requires concrete value): 32 ./in.cue:17:11 33 -- out/compile -- 34 permanentlyIncompleteOperands.a: invalid operand string ('+' requires concrete value): 35 ./in.cue:3:5 36 permanentlyIncompleteOperandsNested.a: invalid operand int ('+' requires concrete value): 37 ./in.cue:8:6 38 permanentlyIncompleteOperandsDisjunct.a: invalid operand int ('+' requires concrete value): 39 ./in.cue:12:6 40 issue680: invalid operand >10 ('*' requires concrete value): 41 ./in.cue:15:12 42 issue405: invalid operand >=100 ('<=' requires concrete value): 43 ./in.cue:17:11 44 --- in.cue 45 { 46 permanentlyIncompleteOperands: { 47 a: ((string + ":") + string) 48 a: "golang/go:1.13.5" 49 } 50 permanentlyIncompleteOperandsNested: { 51 a: ((int + 1) + (int + 1)) 52 } 53 permanentlyIncompleteOperandsDisjunct: { 54 a: ((int + 1)|(int + 1)) 55 } 56 issue680: ((>10 * 2) & 0) 57 issue405: (>=100 <= 200) 58 }