@@ -803,11 +803,6 @@ embed.fail1.p: field not allowed:
803
803
./in.cue:46:7
804
804
./in.cue:46:4
805
805
./in.cue:49:9
806
- embed.success4.x.y: field not allowed:
807
- ./in.cue:76:9
808
- ./in.cue:70:7
809
- ./in.cue:71:6
810
- ./in.cue:76:6
811
806
embed.fail4.p: field not allowed:
812
807
./in.cue:87:10
813
808
./in.cue:87:4
@@ -817,11 +812,6 @@ fieldMismatch.a: cannot combine regular field "x" with 2:
817
812
structShare.err1.x.d.e: field not allowed:
818
813
./in.cue:591:12
819
814
./in.cue:591:9
820
- issue3533.out.metadata.namespace: field not allowed:
821
- ./issue3533.cue:7:26
822
- ./issue3533.cue:2:15
823
- ./issue3533.cue:7:15
824
- ./issue3533.cue:11:17
825
815
826
816
Result:
827
817
(_|_){
@@ -890,20 +880,12 @@ Result:
890
880
}
891
881
#C3: (#struct){
892
882
}
893
- success4: (_|_){
894
- // [eval]
883
+ success4: (struct){
895
884
#X: (#struct){
896
885
y: (string){ string }
897
886
}
898
- x: (_|_){
899
- // [eval]
900
- y: (_|_){
901
- // [eval] embed.success4.x.y: field not allowed:
902
- // ./in.cue:76:9
903
- // ./in.cue:70:7
904
- // ./in.cue:71:6
905
- // ./in.cue:76:6
906
- }
887
+ x: (#struct){
888
+ y: (string){ string }
907
889
}
908
890
}
909
891
fail4: (_|_){
@@ -1432,22 +1414,13 @@ Result:
1432
1414
root: (#struct){
1433
1415
}
1434
1416
}
1435
- issue3533: (_|_){
1436
- // [eval]
1417
+ issue3533: (struct){
1437
1418
#ObjectMeta: (#struct){
1438
1419
namespace?: (string){ string }
1439
1420
}
1440
- out: (_|_){
1441
- // [eval]
1442
- metadata: (_|_){
1443
- // [eval]
1444
- namespace: (_|_){
1445
- // [eval] issue3533.out.metadata.namespace: field not allowed:
1446
- // ./issue3533.cue:7:26
1447
- // ./issue3533.cue:2:15
1448
- // ./issue3533.cue:7:15
1449
- // ./issue3533.cue:11:17
1450
- }
1421
+ out: (struct){
1422
+ metadata: (#struct){
1423
+ namespace: (string){ |(*(string){ "default" }, (string){ string }) }
1451
1424
}
1452
1425
}
1453
1426
}
@@ -1475,7 +1448,7 @@ Result:
1475
1448
diff old new
1476
1449
--- old
1477
1450
+++ new
1478
- @@ -1,32 +1,29 @@
1451
+ @@ -1,32 +1,19 @@
1479
1452
Errors:
1480
1453
+noStackOverflowStructCycle.#list.tail: structural cycle
1481
1454
+noStackOverflowStructCycle.list.tail: structural cycle
@@ -1487,11 +1460,6 @@ diff old new
1487
1460
+ ./in.cue:46:7
1488
1461
./in.cue:46:4
1489
1462
./in.cue:49:9
1490
- +embed.success4.x.y: field not allowed:
1491
- + ./in.cue:76:9
1492
- + ./in.cue:70:7
1493
- + ./in.cue:71:6
1494
- + ./in.cue:76:6
1495
1463
embed.fail4.p: field not allowed:
1496
1464
- ./in.cue:82:9
1497
1465
- ./in.cue:83:7
@@ -1517,15 +1485,10 @@ diff old new
1517
1485
+structShare.err1.x.d.e: field not allowed:
1518
1486
+ ./in.cue:591:12
1519
1487
+ ./in.cue:591:9
1520
- +issue3533.out.metadata.namespace: field not allowed:
1521
- + ./issue3533.cue:7:26
1522
- + ./issue3533.cue:2:15
1523
- + ./issue3533.cue:7:15
1524
- + ./issue3533.cue:11:17
1525
1488
1526
1489
Result:
1527
1490
(_|_){
1528
- @@ -68,8 +65 ,8 @@
1491
+ @@ -68,8 +55 ,8 @@
1529
1492
}
1530
1493
fail: (struct){
1531
1494
a: (_|_){
@@ -1536,7 +1499,7 @@ diff old new
1536
1499
}
1537
1500
}
1538
1501
embed: (_|_){
1539
- @@ -78,10 +75 ,7 @@
1502
+ @@ -78,10 +65 ,7 @@
1540
1503
// [eval]
1541
1504
p: (_|_){
1542
1505
// [eval] embed.fail1.p: field not allowed:
@@ -1548,31 +1511,7 @@ diff old new
1548
1511
// ./in.cue:46:4
1549
1512
// ./in.cue:49:9
1550
1513
}
1551
- @@ -98,12 +92,20 @@
1552
- }
1553
- #C3: (#struct){
1554
- }
1555
- - success4: (struct){
1556
- + success4: (_|_){
1557
- + // [eval]
1558
- #X: (#struct){
1559
- y: (string){ string }
1560
- }
1561
- - x: (#struct){
1562
- - y: (string){ string }
1563
- + x: (_|_){
1564
- + // [eval]
1565
- + y: (_|_){
1566
- + // [eval] embed.success4.x.y: field not allowed:
1567
- + // ./in.cue:76:9
1568
- + // ./in.cue:70:7
1569
- + // ./in.cue:71:6
1570
- + // ./in.cue:76:6
1571
- + }
1572
- }
1573
- }
1574
- fail4: (_|_){
1575
- @@ -110,10 +112,7 @@
1514
+ @@ -110,10 +94,7 @@
1576
1515
// [eval]
1577
1516
p: (_|_){
1578
1517
// [eval] embed.fail4.p: field not allowed:
@@ -1584,7 +1523,7 @@ diff old new
1584
1523
// ./in.cue:87:4
1585
1524
q: (int){ 1 }
1586
1525
}
1587
- @@ -187,8 +186 ,7 @@
1526
+ @@ -187,8 +168 ,7 @@
1588
1527
// [structural cycle] noStackOverflowStructCycle.list.tail: structural cycle
1589
1528
}
1590
1529
}
@@ -1594,7 +1533,7 @@ diff old new
1594
1533
t1: (struct){
1595
1534
#a: (_|_){
1596
1535
// [incomplete] provideIncompleteSuccess.t1.#a: incomplete bool: bool:
1597
- @@ -196,16 +194 ,12 @@
1536
+ @@ -196,16 +176 ,12 @@
1598
1537
b: (bool){ bool }
1599
1538
}
1600
1539
x: (#struct){
@@ -1617,7 +1556,7 @@ diff old new
1617
1556
#a: (#struct){
1618
1557
c: (int){ 4 }
1619
1558
b: (bool){ true }
1620
- @@ -212,17 +206 ,8 @@
1559
+ @@ -212,17 +188 ,8 @@
1621
1560
}
1622
1561
#c: (#struct){
1623
1562
}
@@ -1637,7 +1576,7 @@ diff old new
1637
1576
}
1638
1577
b: (bool){ true }
1639
1578
}
1640
- @@ -252,9 +237 ,22 @@
1579
+ @@ -252,9 +219 ,22 @@
1641
1580
}
1642
1581
cyclicError: (struct){
1643
1582
a: (_|_){
@@ -1663,7 +1602,7 @@ diff old new
1663
1602
}
1664
1603
}
1665
1604
midwayReferences: (struct){
1666
- @@ -268,24 +266 ,9 @@
1605
+ @@ -268,24 +248 ,9 @@
1667
1606
}
1668
1607
}
1669
1608
}
@@ -1691,7 +1630,7 @@ diff old new
1691
1630
}
1692
1631
closedCheck: (struct){
1693
1632
success1: (struct){
1694
- @@ -388,13 +371 ,7 @@
1633
+ @@ -388,13 +353 ,7 @@
1695
1634
}
1696
1635
}
1697
1636
}
@@ -1706,7 +1645,7 @@ diff old new
1706
1645
#F: (#struct){
1707
1646
e: (bool){ bool }
1708
1647
f: (_|_){
1709
- @@ -411,17 +388 ,10 @@
1648
+ @@ -411,17 +370 ,10 @@
1710
1649
}
1711
1650
}
1712
1651
E: (_|_){
@@ -1725,7 +1664,7 @@ diff old new
1725
1664
}
1726
1665
}
1727
1666
derefDisj2: (struct){
1728
- @@ -432,17 +402 ,10 @@
1667
+ @@ -432,17 +384 ,10 @@
1729
1668
}
1730
1669
}
1731
1670
E: (_|_){
@@ -1744,7 +1683,7 @@ diff old new
1744
1683
}
1745
1684
}
1746
1685
bulk1: (struct){
1747
- @@ -565,9 +528 ,7 @@
1686
+ @@ -565,9 +510 ,7 @@
1748
1687
// [eval]
1749
1688
e: (_|_){
1750
1689
// [eval] structShare.err1.x.d.e: field not allowed:
@@ -1755,7 +1694,7 @@ diff old new
1755
1694
// ./in.cue:591:9
1756
1695
}
1757
1696
}
1758
- @@ -591,13 +552 ,13 @@
1697
+ @@ -591,13 +534 ,13 @@
1759
1698
}
1760
1699
envs: (struct){
1761
1700
e1: (#struct){
@@ -1773,7 +1712,7 @@ diff old new
1773
1712
}
1774
1713
}
1775
1714
}
1776
- @@ -634,9 +595 ,8 @@
1715
+ @@ -634,9 +577 ,8 @@
1777
1716
_c: (struct){
1778
1717
y: (int){ 1 }
1779
1718
}
@@ -1785,33 +1724,6 @@ diff old new
1785
1724
}
1786
1725
}
1787
1726
errorPropagation: (_|_){
1788
- @@ -674,13 +634,22 @@
1789
- root: (#struct){
1790
- }
1791
- }
1792
- - issue3533: (struct){
1793
- + issue3533: (_|_){
1794
- + // [eval]
1795
- #ObjectMeta: (#struct){
1796
- namespace?: (string){ string }
1797
- }
1798
- - out: (struct){
1799
- - metadata: (#struct){
1800
- - namespace: (string){ |(*(string){ "default" }, (string){ string }) }
1801
- + out: (_|_){
1802
- + // [eval]
1803
- + metadata: (_|_){
1804
- + // [eval]
1805
- + namespace: (_|_){
1806
- + // [eval] issue3533.out.metadata.namespace: field not allowed:
1807
- + // ./issue3533.cue:7:26
1808
- + // ./issue3533.cue:2:15
1809
- + // ./issue3533.cue:7:15
1810
- + // ./issue3533.cue:11:17
1811
- + }
1812
- }
1813
- }
1814
- }
1815
1727
-- diff/-out/evalalpha/stats<==>+out/eval/stats --
1816
1728
diff old new
1817
1729
--- old
0 commit comments