cuelang.org/go@v0.10.1/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 permanentlyIncompleteOperands.a: invalid operand string ('+' requires concrete value): 26 ./in.cue:3:20 27 permanentlyIncompleteOperandsNested.a: invalid operand int ('+' requires concrete value): 28 ./in.cue:8:6 29 permanentlyIncompleteOperandsNested.a: invalid operand int ('+' requires concrete value): 30 ./in.cue:8:18 31 permanentlyIncompleteOperandsDisjunct.a: invalid operand int ('+' requires concrete value): 32 ./in.cue:12:6 33 permanentlyIncompleteOperandsDisjunct.a: invalid operand int ('+' requires concrete value): 34 ./in.cue:12:18 35 issue680: invalid operand >10 ('*' requires concrete value): 36 ./in.cue:15:12 37 issue405: invalid operand >=100 ('<=' requires concrete value): 38 ./in.cue:17:11 39 -- out/compile -- 40 permanentlyIncompleteOperands.a: invalid operand string ('+' requires concrete value): 41 ./in.cue:3:5 42 permanentlyIncompleteOperands.a: invalid operand string ('+' requires concrete value): 43 ./in.cue:3:20 44 permanentlyIncompleteOperandsNested.a: invalid operand int ('+' requires concrete value): 45 ./in.cue:8:6 46 permanentlyIncompleteOperandsNested.a: invalid operand int ('+' requires concrete value): 47 ./in.cue:8:18 48 permanentlyIncompleteOperandsDisjunct.a: invalid operand int ('+' requires concrete value): 49 ./in.cue:12:6 50 permanentlyIncompleteOperandsDisjunct.a: invalid operand int ('+' requires concrete value): 51 ./in.cue:12:18 52 issue680: invalid operand >10 ('*' requires concrete value): 53 ./in.cue:15:12 54 issue405: invalid operand >=100 ('<=' requires concrete value): 55 ./in.cue:17:11 56 --- in.cue 57 { 58 permanentlyIncompleteOperands: { 59 a: ((string + ":") + string) 60 a: "golang/go:1.13.5" 61 } 62 permanentlyIncompleteOperandsNested: { 63 a: ((int + 1) + (int + 1)) 64 } 65 permanentlyIncompleteOperandsDisjunct: { 66 a: ((int + 1)|(int + 1)) 67 } 68 issue680: ((>10 * 2) & 0) 69 issue405: (>=100 <= 200) 70 }