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