@@ -306,7 +306,7 @@ Allocs: 508
306
306
Retain: 0
307
307
308
308
Unifications: 403
309
- Conjuncts: 780
309
+ Conjuncts: 781
310
310
Disjuncts: 34
311
311
-- diff/-out/evalalpha/stats<==>+out/eval/stats --
312
312
diff old new
@@ -328,7 +328,7 @@ diff old new
328
328
-Conjuncts: 1396
329
329
-Disjuncts: 901
330
330
+Unifications: 403
331
- +Conjuncts: 780
331
+ +Conjuncts: 781
332
332
+Disjuncts: 34
333
333
-- out/eval/stats --
334
334
Leaks: 107
@@ -367,11 +367,6 @@ embed.simple.a.err: field not allowed:
367
367
./in.cue:4:5
368
368
embed.withIndirect.err: field not allowed:
369
369
./in.cue:71:8
370
- embedInline.out.b.d: field not allowed:
371
- ./inline.cue:8:4
372
- b.d: field not allowed:
373
- ./inline.cue:23:12
374
- ./inline.cue:20:4
375
370
embed.openValidator.t2.a.b: invalid value 1 (does not satisfy matchN): 0 matched, expected 1:
376
371
./validators.cue:21:5
377
372
./validators.cue:21:12
@@ -636,42 +631,31 @@ Result:
636
631
}
637
632
}
638
633
}
639
- embedInline: (_|_){
640
- // [eval]
634
+ embedInline: (struct){
641
635
#Schema: (#struct){
642
636
a: (string){ "hello" }
643
637
b: (#struct){
644
638
c: (string){ "foo" }
645
639
d: (string){ "never printed" }
646
640
}
647
641
}
648
- out: (_|_){
649
- // [eval]
642
+ out: (#struct){
650
643
a: (string){ "hello" }
651
- b: (_|_){
652
- // [eval]
644
+ b: (#struct){
653
645
c: (string){ "foo" }
654
- d: (_|_){
655
- // [eval] embedInline.out.b.d: field not allowed:
656
- // ./inline.cue:8:4
657
- }
646
+ d: (string){ "never printed" }
658
647
}
659
648
}
660
649
}
661
- issue3853: (_|_){
662
- // [eval]
650
+ issue3853: (struct){
663
651
#Schema: (#struct){
664
652
a: (string){ "hello" }
665
653
b: (#struct){
666
654
c: (string){ "foo" }
667
655
d: (string){ "never printed" }
668
656
}
669
657
}
670
- out: (_|_){
671
- // [eval] b.d: field not allowed:
672
- // ./inline.cue:23:12
673
- // ./inline.cue:20:4
674
- }
658
+ out: (string){ "hello" }
675
659
}
676
660
issue3832: (#struct){
677
661
_person: (struct){
@@ -1054,7 +1038,7 @@ Result:
1054
1038
diff old new
1055
1039
--- old
1056
1040
+++ new
1057
- @@ -1,81 +1,34 @@
1041
+ @@ -1,81 +1,29 @@
1058
1042
Errors:
1059
1043
and.transitive.out.ok: field not allowed:
1060
1044
- ./in.cue:34:5
@@ -1133,15 +1117,10 @@ diff old new
1133
1117
- ./validators.cue:12:6
1134
1118
- ./validators.cue:17:5
1135
1119
- ./validators.cue:18:5
1136
- +embedInline.out.b.d: field not allowed:
1137
- + ./inline.cue:8:4
1138
- +b.d: field not allowed:
1139
- + ./inline.cue:23:12
1140
- + ./inline.cue:20:4
1141
1120
embed.openValidator.t2.a.b: invalid value 1 (does not satisfy matchN): 0 matched, expected 1:
1142
1121
./validators.cue:21:5
1143
1122
./validators.cue:21:12
1144
- @@ -94,14 +47 ,11 @@
1123
+ @@ -94,14 +42 ,11 @@
1145
1124
}
1146
1125
a: (_|_){
1147
1126
// [eval]
@@ -1157,7 +1136,7 @@ diff old new
1157
1136
}
1158
1137
}
1159
1138
andInStruct: (_|_){
1160
- @@ -111,14 +61 ,11 @@
1139
+ @@ -111,14 +56 ,11 @@
1161
1140
}
1162
1141
a: (_|_){
1163
1142
// [eval]
@@ -1173,7 +1152,7 @@ diff old new
1173
1152
}
1174
1153
}
1175
1154
embedDefWithEmbedding: (_|_){
1176
- @@ -128,15 +75 ,11 @@
1155
+ @@ -128,15 +70 ,11 @@
1177
1156
}
1178
1157
a: (_|_){
1179
1158
// [eval]
@@ -1190,7 +1169,7 @@ diff old new
1190
1169
}
1191
1170
}
1192
1171
embedComprehension: (_|_){
1193
- @@ -146,16 +89 ,11 @@
1172
+ @@ -146,16 +84 ,11 @@
1194
1173
}
1195
1174
a: (_|_){
1196
1175
// [eval]
@@ -1208,7 +1187,7 @@ diff old new
1208
1187
}
1209
1188
}
1210
1189
fieldWithAnd: (_|_){
1211
- @@ -166,9 +104 ,6 @@
1190
+ @@ -166,9 +99 ,6 @@
1212
1191
// [eval]
1213
1192
err: (_|_){
1214
1193
// [eval] embed.fieldWithAnd.a.err: field not allowed:
@@ -1218,7 +1197,7 @@ diff old new
1218
1197
// ./in.cue:20:13
1219
1198
}
1220
1199
}
1221
- @@ -179,20 +114 ,15 @@
1200
+ @@ -179,20 +109 ,15 @@
1222
1201
a: (int){ int }
1223
1202
}
1224
1203
B: (struct){
@@ -1244,7 +1223,7 @@ diff old new
1244
1223
}
1245
1224
}
1246
1225
andEmbed: (_|_){
1247
- @@ -208,17 +138 ,11 @@
1226
+ @@ -208,17 +133 ,11 @@
1248
1227
}
1249
1228
d: (_|_){
1250
1229
// [eval]
@@ -1263,7 +1242,7 @@ diff old new
1263
1242
}
1264
1243
}
1265
1244
nonDef: (struct){
1266
- @@ -227,12 +151 ,12 @@
1245
+ @@ -227,12 +146 ,12 @@
1267
1246
a: (string){ string }
1268
1247
}
1269
1248
#Y: (#struct){
@@ -1280,7 +1259,7 @@ diff old new
1280
1259
}
1281
1260
}
1282
1261
}
1283
- @@ -242,12 +166 ,12 @@
1262
+ @@ -242,12 +161 ,12 @@
1284
1263
Name: (string){ string }
1285
1264
}
1286
1265
#Step: (#struct){
@@ -1297,7 +1276,7 @@ diff old new
1297
1276
}
1298
1277
out: (#struct){
1299
1278
Name: (string){ "foo" }
1300
- @@ -257,21 +181 ,15 @@
1279
+ @@ -257,21 +176 ,15 @@
1301
1280
}
1302
1281
withIndirect: (_|_){
1303
1282
// [eval]
@@ -1324,7 +1303,7 @@ diff old new
1324
1303
}
1325
1304
normalValidator: (_|_){
1326
1305
// [eval]
1327
- @@ -281,20 +199 ,17 @@
1306
+ @@ -281,20 +194 ,17 @@
1328
1307
}
1329
1308
x: (_|_){
1330
1309
// [eval]
@@ -1348,7 +1327,7 @@ diff old new
1348
1327
#X: (_){
1349
1328
matchN(0, (#list){
1350
1329
})
1351
- @@ -301,17 +216 ,10 @@
1330
+ @@ -301,17 +211 ,10 @@
1352
1331
a?: (int){ int }
1353
1332
b?: (int){ int }
1354
1333
}
@@ -1370,7 +1349,7 @@ diff old new
1370
1349
}
1371
1350
}
1372
1351
t2: (_|_){
1373
- @@ -330,10 +238 ,7 @@
1352
+ @@ -330,10 +233 ,7 @@
1374
1353
// [eval]
1375
1354
b: (_|_){
1376
1355
// [eval] embed.openValidator.t2.a.b: conflicting values 1 and {b?:Y} (mismatched types int and struct):
@@ -1381,7 +1360,7 @@ diff old new
1381
1360
// ./validators.cue:24:8
1382
1361
// embed.openValidator.t2.a.b: invalid value 1 (does not satisfy matchN): 0 matched, expected 1:
1383
1362
// ./validators.cue:21:5
1384
- @@ -360,16 +265 ,11 @@
1363
+ @@ -360,16 +260 ,11 @@
1385
1364
}
1386
1365
out: (_|_){
1387
1366
// [eval]
@@ -1399,7 +1378,7 @@ diff old new
1399
1378
}
1400
1379
}
1401
1380
transitiveWithEmbed: (_|_){
1402
- @@ -385,45 +285,50 @@
1381
+ @@ -385,17 +280,11 @@
1403
1382
}
1404
1383
out: (_|_){
1405
1384
// [eval]
@@ -1414,78 +1393,11 @@ diff old new
1414
1393
- // ./in.cue:45:7
1415
1394
// ./in.cue:46:3
1416
1395
}
1417
- - }
1418
- - }
1419
- - }
1420
- - embedInline: (struct){
1421
- - #Schema: (#struct){
1422
- - a: (string){ "hello" }
1423
- - b: (#struct){
1424
- - c: (string){ "foo" }
1425
- - d: (string){ "never printed" }
1426
- - }
1427
- - }
1428
- - out: (#struct){
1429
- - a: (string){ "hello" }
1430
- - b: (#struct){
1431
- - c: (string){ "foo" }
1432
- - d: (string){ "never printed" }
1433
- - }
1434
- - }
1435
- - }
1436
- - issue3853: (struct){
1437
- - #Schema: (#struct){
1438
- - a: (string){ "hello" }
1439
- - b: (#struct){
1440
- - c: (string){ "foo" }
1441
- - d: (string){ "never printed" }
1442
- - }
1443
- - }
1444
- - out: (string){ "hello" }
1445
1396
+ a: (string){ string }
1446
- + }
1447
- + }
1448
- + }
1449
- + embedInline: (_|_){
1450
- + // [eval]
1451
- + #Schema: (#struct){
1452
- + a: (string){ "hello" }
1453
- + b: (#struct){
1454
- + c: (string){ "foo" }
1455
- + d: (string){ "never printed" }
1456
- + }
1457
- + }
1458
- + out: (_|_){
1459
- + // [eval]
1460
- + a: (string){ "hello" }
1461
- + b: (_|_){
1462
- + // [eval]
1463
- + c: (string){ "foo" }
1464
- + d: (_|_){
1465
- + // [eval] embedInline.out.b.d: field not allowed:
1466
- + // ./inline.cue:8:4
1467
- + }
1468
- + }
1469
- + }
1470
- + }
1471
- + issue3853: (_|_){
1472
- + // [eval]
1473
- + #Schema: (#struct){
1474
- + a: (string){ "hello" }
1475
- + b: (#struct){
1476
- + c: (string){ "foo" }
1477
- + d: (string){ "never printed" }
1478
- + }
1479
- + }
1480
- + out: (_|_){
1481
- + // [eval] b.d: field not allowed:
1482
- + // ./inline.cue:23:12
1483
- + // ./inline.cue:20:4
1484
- + }
1397
+ }
1398
+ }
1485
1399
}
1486
- issue3832: (#struct){
1487
- _person: (struct){
1488
- @@ -440,8 +345,8 @@
1400
+ @@ -440,8 +329,8 @@
1489
1401
// ./issue3832.cue:8:16
1490
1402
}
1491
1403
outFirstName: (_|_){
@@ -1496,7 +1408,7 @@ diff old new
1496
1408
}
1497
1409
}
1498
1410
}
1499
- @@ -451,35 +356 ,27 @@
1411
+ @@ -451,35 +340 ,27 @@
1500
1412
}, (#struct){
1501
1413
pass: (#struct){
1502
1414
let self#1 = (_|_){
@@ -1542,7 +1454,7 @@ diff old new
1542
1454
pass: (#struct){
1543
1455
let self#1 = (#struct){
1544
1456
firstName: (string){ "Sam" }
1545
- @@ -486,18 +383 ,21 @@
1457
+ @@ -486,18 +367 ,21 @@
1546
1458
}
1547
1459
outFirstName: (string){ "Sam" }
1548
1460
}
@@ -1576,7 +1488,7 @@ diff old new
1576
1488
}
1577
1489
issue3833: (struct){
1578
1490
out: (#struct){
1579
- @@ -573,12 +473 ,8 @@
1491
+ @@ -573,12 +457 ,8 @@
1580
1492
globalField: (string){ string }
1581
1493
}
1582
1494
#Context: (#struct){
@@ -1591,7 +1503,7 @@ diff old new
1591
1503
}
1592
1504
out: (struct){
1593
1505
ingress: (#struct){
1594
- @@ -606,22 +502 ,22 @@
1506
+ @@ -606,22 +486 ,22 @@
1595
1507
#Z: (#struct){
1596
1508
}
1597
1509
x: (#struct){
@@ -1630,7 +1542,7 @@ diff old new
1630
1542
z: (int){ 1 }
1631
1543
}
1632
1544
}
1633
- @@ -631,22 +527 ,22 @@
1545
+ @@ -631,22 +511 ,22 @@
1634
1546
#Z: (#struct){
1635
1547
}
1636
1548
x: (#struct){
@@ -1669,7 +1581,7 @@ diff old new
1669
1581
z: (int){ 1 }
1670
1582
}
1671
1583
}
1672
- @@ -701,38 +597 ,11 @@
1584
+ @@ -701,38 +581 ,11 @@
1673
1585
#Main: (#struct){
1674
1586
namespace: (string){ string }
1675
1587
output: (_|_){
@@ -1710,7 +1622,7 @@ diff old new
1710
1622
let base#6 = (#struct){
1711
1623
someMsg: (string){ string }
1712
1624
obs: (#struct){ |(*(#struct){
1713
- @@ -775,6 +644 ,19 @@
1625
+ @@ -775,6 +628 ,19 @@
1714
1626
}
1715
1627
}
1716
1628
}
@@ -1730,7 +1642,7 @@ diff old new
1730
1642
}
1731
1643
}
1732
1644
out: (#struct){
1733
- @@ -804,17 +686 ,8 @@
1645
+ @@ -804,17 +670 ,8 @@
1734
1646
// ./validators.cue:32:17
1735
1647
// disjunction.withErr.t1.out.b1.b2.b3: undefined field: mayExistLater:
1736
1648
// ./validators.cue:29:22
0 commit comments