@@ -255,15 +255,15 @@ issue3634: reduced: {
255
255
out: len(#D & list.Repeat([#D & { a: b: 1 }], 1)[0])
256
256
}
257
257
-- out/evalalpha/stats --
258
- Leaks: 465
258
+ Leaks: 484
259
259
Freed: 0
260
260
Reused: 0
261
- Allocs: 465
261
+ Allocs: 484
262
262
Retain: 0
263
263
264
- Unifications: 397
265
- Conjuncts: 868
266
- Disjuncts: 34
264
+ Unifications: 409
265
+ Conjuncts: 920
266
+ Disjuncts: 38
267
267
-- diff/-out/evalalpha/stats<==>+out/eval/stats --
268
268
diff old new
269
269
--- old
@@ -274,18 +274,18 @@ diff old new
274
274
-Reused: 434
275
275
-Allocs: 37
276
276
-Retain: 99
277
- +Leaks: 465
277
+ +Leaks: 484
278
278
+Freed: 0
279
279
+Reused: 0
280
- +Allocs: 465
280
+ +Allocs: 484
281
281
+Retain: 0
282
282
283
283
-Unifications: 441
284
284
-Conjuncts: 821
285
285
-Disjuncts: 537
286
- +Unifications: 397
287
- +Conjuncts: 868
288
- +Disjuncts: 34
286
+ +Unifications: 409
287
+ +Conjuncts: 920
288
+ +Disjuncts: 38
289
289
-- out/eval/stats --
290
290
Leaks: 25
291
291
Freed: 446
@@ -298,11 +298,6 @@ Conjuncts: 821
298
298
Disjuncts: 537
299
299
-- out/evalalpha --
300
300
Errors:
301
- 0.properties.foo: cannot combine regular field "required" with null:
302
- ./issue3634.cue:6:26
303
- 0.properties.foo: conflicting values null and {required:["bar","baz"]} (mismatched types null and struct):
304
- ./issue3634.cue:6:26
305
- ./issue3634.cue:11:20
306
301
noCycle.t1.#x: invalid value {} (does not satisfy matchN): 0 matched, expected 1:
307
302
./cycle.cue:4:7
308
303
./cycle.cue:4:14
@@ -319,12 +314,6 @@ issue3649.cycle.t1.data.a: invalid value {b:"foo"} (does not satisfy matchN): 0
319
314
./cycle.cue:31:13
320
315
issue3649.cycle.t1.data.a.a: structural cycle:
321
316
./cycle.cue:31:6
322
- 0.properties.foo: structural cycle:
323
- ./issue3634.cue:6:33
324
- 0.properties.foo: 3 errors in empty disjunction::
325
- ./issue3634.cue:9:26
326
- 0.a: structural cycle:
327
- ./issue3634.cue:17:7
328
317
jsonCycle.t1.x.y: invalid value "{}" (does not satisfy encoding/json.Validate): error in call to encoding/json.Validate: structural cycle:
329
318
./jsoncycle.cue:4:8
330
319
./jsoncycle.cue:5:8
@@ -543,40 +532,24 @@ Result:
543
532
host: (string){ "mod.test" }
544
533
}
545
534
}
546
- issue3634: (_|_){
547
- // [structural cycle]
548
- full: (_|_){
549
- // [structural cycle]
535
+ issue3634: (struct){
536
+ full: (struct){
550
537
#Schema: (#struct){
551
538
required?: (list){
552
539
}
553
540
properties?: (#struct){
554
541
}
555
542
}
556
- out: (_|_){
557
- // [structural cycle] 0.properties.foo: cannot combine regular field "required" with null:
558
- // ./issue3634.cue:6:26
559
- // 0.properties.foo: conflicting values null and {required:["bar","baz"]} (mismatched types null and struct):
560
- // ./issue3634.cue:6:26
561
- // ./issue3634.cue:11:20
562
- // 0.properties.foo: structural cycle:
563
- // ./issue3634.cue:6:33
564
- // 0.properties.foo: 3 errors in empty disjunction::
565
- // ./issue3634.cue:9:26
566
- }
543
+ out: (int){ 3 }
567
544
}
568
- reduced: (_|_){
569
- // [structural cycle]
545
+ reduced: (struct){
570
546
#D: (#struct){
571
547
b?: (int){ int }
572
548
a?: (_|_){
573
549
// [structural cycle] issue3634.reduced.#D.a: structural cycle
574
550
}
575
551
}
576
- out: (_|_){
577
- // [structural cycle] 0.a: structural cycle:
578
- // ./issue3634.cue:17:7
579
- }
552
+ out: (int){ 1 }
580
553
}
581
554
}
582
555
jsonCycle: (_|_){
@@ -884,14 +857,7 @@ Result:
884
857
diff old new
885
858
--- old
886
859
+++ new
887
- @@ -1,26 +1,52 @@
888
- Errors:
889
- +0.properties.foo: cannot combine regular field "required" with null:
890
- + ./issue3634.cue:6:26
891
- +0.properties.foo: conflicting values null and {required:["bar","baz"]} (mismatched types null and struct):
892
- + ./issue3634.cue:6:26
893
- + ./issue3634.cue:11:20
894
- noCycle.t1.#x: invalid value {} (does not satisfy matchN): 0 matched, expected 1:
860
+ @@ -3,24 +3,39 @@
895
861
./cycle.cue:4:7
896
862
./cycle.cue:4:14
897
863
./cycle.cue:5:13
@@ -919,12 +885,6 @@ diff old new
919
885
+ ./cycle.cue:31:13
920
886
+issue3649.cycle.t1.data.a.a: structural cycle:
921
887
+ ./cycle.cue:31:6
922
- +0.properties.foo: structural cycle:
923
- + ./issue3634.cue:6:33
924
- +0.properties.foo: 3 errors in empty disjunction::
925
- + ./issue3634.cue:9:26
926
- +0.a: structural cycle:
927
- + ./issue3634.cue:17:7
928
888
+jsonCycle.t1.x.y: invalid value "{}" (does not satisfy encoding/json.Validate): error in call to encoding/json.Validate: structural cycle:
929
889
+ ./jsoncycle.cue:4:8
930
890
+ ./jsoncycle.cue:5:8
@@ -949,7 +909,7 @@ diff old new
949
909
issue3443.cycle2.fail.#S: invalid value {n:{n:{n:_}}} (does not satisfy matchN): 0 matched, expected 1:
950
910
./matchn.cue:55:13
951
911
./matchn.cue:55:20
952
- @@ -53,26 +79 ,21 @@
912
+ @@ -53,26 +68 ,21 @@
953
913
./yamlcycle.cue:15:8
954
914
selfCycle.t1.c.d.d.d: structural cycle:
955
915
./yamlcycle.cue:14:5
@@ -991,7 +951,7 @@ diff old new
991
951
992
952
Result:
993
953
(_|_){
994
- @@ -88,10 +109 ,6 @@
954
+ @@ -88,10 +98 ,6 @@
995
955
// ./cycle.cue:4:7
996
956
// ./cycle.cue:4:14
997
957
// ./cycle.cue:5:13
@@ -1002,7 +962,7 @@ diff old new
1002
962
}
1003
963
}
1004
964
#x: (_|_){
1005
- @@ -99,21 +116 ,20 @@
965
+ @@ -99,21 +105 ,20 @@
1006
966
// ./cycle.cue:4:7
1007
967
// ./cycle.cue:4:14
1008
968
// ./cycle.cue:5:13
@@ -1038,23 +998,23 @@ diff old new
1038
998
}
1039
999
#c: (#struct){
1040
1000
b?: (string){ string }
1041
- @@ -125,7 +141 ,6 @@
1001
+ @@ -125,7 +130 ,6 @@
1042
1002
}
1043
1003
t2: (struct){
1044
1004
x: (struct){
1045
1005
- b?: (string){ string }
1046
1006
y: (struct){
1047
1007
a: (struct){
1048
1008
d: (struct){
1049
- @@ -133,6 +148 ,7 @@
1009
+ @@ -133,6 +137 ,7 @@
1050
1010
}
1051
1011
}
1052
1012
}
1053
1013
+ b?: (string){ string }
1054
1014
}
1055
1015
c: (struct){
1056
1016
b?: (string){ string }
1057
- @@ -147,13 +163 ,22 @@
1017
+ @@ -147,13 +152 ,22 @@
1058
1018
}
1059
1019
}
1060
1020
}
@@ -1084,56 +1044,7 @@ diff old new
1084
1044
}
1085
1045
#c: (#struct){
1086
1046
b: (string){ string }
1087
- @@ -219,8 +244,10 @@
1088
- host: (string){ "mod.test" }
1089
- }
1090
- }
1091
- - issue3634: (struct){
1092
- - full: (struct){
1093
- + issue3634: (_|_){
1094
- + // [structural cycle]
1095
- + full: (_|_){
1096
- + // [structural cycle]
1097
- #Schema: (#struct){
1098
- required?: (list){
1099
- }
1100
- @@ -227,9 +254,20 @@
1101
- properties?: (#struct){
1102
- }
1103
- }
1104
- - out: (int){ 3 }
1105
- - }
1106
- - reduced: (struct){
1107
- + out: (_|_){
1108
- + // [structural cycle] 0.properties.foo: cannot combine regular field "required" with null:
1109
- + // ./issue3634.cue:6:26
1110
- + // 0.properties.foo: conflicting values null and {required:["bar","baz"]} (mismatched types null and struct):
1111
- + // ./issue3634.cue:6:26
1112
- + // ./issue3634.cue:11:20
1113
- + // 0.properties.foo: structural cycle:
1114
- + // ./issue3634.cue:6:33
1115
- + // 0.properties.foo: 3 errors in empty disjunction::
1116
- + // ./issue3634.cue:9:26
1117
- + }
1118
- + }
1119
- + reduced: (_|_){
1120
- + // [structural cycle]
1121
- #D: (#struct){
1122
- b?: (int){ int }
1123
- a?: (_|_){
1124
- @@ -236,7 +274,10 @@
1125
- // [structural cycle] issue3634.reduced.#D.a: structural cycle
1126
- }
1127
- }
1128
- - out: (int){ 1 }
1129
- + out: (_|_){
1130
- + // [structural cycle] 0.a: structural cycle:
1131
- + // ./issue3634.cue:17:7
1132
- + }
1133
- }
1134
- }
1135
- jsonCycle: (_|_){
1136
- @@ -244,8 +285,12 @@
1047
+ @@ -244,8 +258,12 @@
1137
1048
t1: (_|_){
1138
1049
// [structural cycle]
1139
1050
x: (_|_){
@@ -1148,7 +1059,7 @@ diff old new
1148
1059
}
1149
1060
}
1150
1061
}
1151
- @@ -254,8 +299 ,15 @@
1062
+ @@ -254,8 +272 ,15 @@
1152
1063
structCycle: (_|_){
1153
1064
// [eval]
1154
1065
x: (_|_){
@@ -1166,7 +1077,7 @@ diff old new
1166
1077
}
1167
1078
}
1168
1079
ok: (struct){
1169
- @@ -318,7 +370 ,7 @@
1080
+ @@ -318,7 +343 ,7 @@
1170
1081
}
1171
1082
}) }
1172
1083
noHang: (struct){
@@ -1175,7 +1086,7 @@ diff old new
1175
1086
n: (struct){
1176
1087
n: (_){ _ }
1177
1088
}
1178
- @@ -333,7 +385 ,8 @@
1089
+ @@ -333,7 +358 ,8 @@
1179
1090
}
1180
1091
}) }
1181
1092
}
@@ -1185,7 +1096,7 @@ diff old new
1185
1096
#S: (_){ matchN(1, (#list){
1186
1097
0: (_|_){// {
1187
1098
// n: 〈2;#S〉
1188
- @@ -348,8 +401 ,21 @@
1099
+ @@ -348,8 +374 ,21 @@
1189
1100
}
1190
1101
}) }
1191
1102
}
@@ -1209,7 +1120,7 @@ diff old new
1209
1120
n: (struct){
1210
1121
n: (_){ _ }
1211
1122
}
1212
- @@ -417,8 +483 ,8 @@
1123
+ @@ -417,8 +456 ,8 @@
1213
1124
a?: ((string|bytes)){ "encoding/yaml".Validate(yamlNoCycle.#c) }
1214
1125
}
1215
1126
data: (#struct){
@@ -1219,7 +1130,7 @@ diff old new
1219
1130
}
1220
1131
}
1221
1132
selfCycle: (_|_){
1222
- @@ -446,19 +512 ,8 @@
1133
+ @@ -446,19 +485 ,8 @@
1223
1134
}
1224
1135
}
1225
1136
}
@@ -1241,7 +1152,7 @@ diff old new
1241
1152
}
1242
1153
}
1243
1154
yamlVal: (_|_){
1244
- @@ -466,25 +521 ,33 @@
1155
+ @@ -466,25 +494 ,33 @@
1245
1156
t1: (_|_){
1246
1157
// [eval]
1247
1158
x: (_|_){
@@ -1289,7 +1200,7 @@ diff old new
1289
1200
}
1290
1201
}
1291
1202
t2: (_|_){
1292
- @@ -492,13 +555 ,16 @@
1203
+ @@ -492,13 +528 ,16 @@
1293
1204
z: (_|_){
1294
1205
// [eval]
1295
1206
y: (_|_){
@@ -1313,7 +1224,7 @@ diff old new
1313
1224
}
1314
1225
}
1315
1226
}
1316
- @@ -505,8 +571 ,12 @@
1227
+ @@ -505,8 +544 ,12 @@
1317
1228
yamlValidatePartial: (_|_){
1318
1229
// [structural cycle]
1319
1230
x: (_|_){
0 commit comments