@@ -485,7 +485,7 @@ Unifications: 655
485
485
Conjuncts: 1267
486
486
Disjuncts: 50
487
487
488
- CloseIDElems: 3157
488
+ CloseIDElems: 3142
489
489
NumCloseIDs: 360
490
490
-- diff/-out/evalalpha/stats<==>+out/eval/stats --
491
491
diff old new
@@ -514,7 +514,7 @@ diff old new
514
514
+Conjuncts: 1267
515
515
+Disjuncts: 50
516
516
+
517
- +CloseIDElems: 3157
517
+ +CloseIDElems: 3142
518
518
+NumCloseIDs: 360
519
519
-- out/eval/stats --
520
520
Leaks: 116
@@ -535,8 +535,6 @@ and.transitive.err.out.err: field not allowed:
535
535
./in.cue:46:3
536
536
and.transitiveWithEmbed.err.out.err: field not allowed:
537
537
./in.cue:62:3
538
- closeInEmbed.x.d.e: field not allowed:
539
- ./chaineddef.cue:17:8
540
538
embed.andEmbed.d.err: field not allowed:
541
539
./in.cue:31:11
542
540
embed.andInStruct.a.err: field not allowed:
@@ -597,16 +595,10 @@ Result:
597
595
}
598
596
}
599
597
}
600
- closeInEmbed: (_|_){
601
- // [eval]
602
- x: (_|_){
603
- // [eval]
604
- d: (_|_){
605
- // [eval]
606
- e: (_|_){
607
- // [eval] closeInEmbed.x.d.e: field not allowed:
608
- // ./chaineddef.cue:17:8
609
- }
598
+ closeInEmbed: (struct){
599
+ x: (#struct){
600
+ d: (struct){
601
+ e: (int){ 1 }
610
602
f: (int){ int }
611
603
}
612
604
}
@@ -1606,7 +1598,7 @@ Result:
1606
1598
diff old new
1607
1599
--- old
1608
1600
+++ new
1609
- @@ -1,86 +1,36 @@
1601
+ @@ -1,86 +1,34 @@
1610
1602
Errors:
1611
1603
and.transitive.err.out.err: field not allowed:
1612
1604
- ./in.cue:42:5
@@ -1623,8 +1615,6 @@ diff old new
1623
1615
- ./in.cue:60:7
1624
1616
- ./in.cue:61:7
1625
1617
./in.cue:62:3
1626
- +closeInEmbed.x.d.e: field not allowed:
1627
- + ./chaineddef.cue:17:8
1628
1618
embed.andEmbed.d.err: field not allowed:
1629
1619
- ./in.cue:28:6
1630
1620
- ./in.cue:29:6
@@ -1698,7 +1688,7 @@ diff old new
1698
1688
embed.openValidator.t2.a.b: invalid value 1 (does not satisfy matchN): 0 matched, expected 1:
1699
1689
./validators.cue:21:5
1700
1690
./validators.cue:21:12
1701
- @@ -93,14 +43 ,12 @@
1691
+ @@ -93,14 +41 ,12 @@
1702
1692
issue3920: (struct){
1703
1693
out: (#struct){
1704
1694
a: (#struct){
@@ -1715,28 +1705,7 @@ diff old new
1715
1705
}
1716
1706
#B: (#struct){
1717
1707
c?: (string){ string }
1718
- @@ -117,10 +65,16 @@
1719
- }
1720
- }
1721
- }
1722
- - closeInEmbed: (struct){
1723
- - x: (#struct){
1724
- - d: (struct){
1725
- - e: (int){ 1 }
1726
- + closeInEmbed: (_|_){
1727
- + // [eval]
1728
- + x: (_|_){
1729
- + // [eval]
1730
- + d: (_|_){
1731
- + // [eval]
1732
- + e: (_|_){
1733
- + // [eval] closeInEmbed.x.d.e: field not allowed:
1734
- + // ./chaineddef.cue:17:8
1735
- + }
1736
- f: (int){ int }
1737
- }
1738
- }
1739
- @@ -140,10 +94,7 @@
1708
+ @@ -140,10 +86,7 @@
1740
1709
allowed?: (string){ string }
1741
1710
disallowed: (_|_){
1742
1711
// [eval] issue3947.full.out.disallowed: field not allowed:
@@ -1747,7 +1716,7 @@ diff old new
1747
1716
}
1748
1717
}
1749
1718
}
1750
- @@ -228,14 +179 ,11 @@
1719
+ @@ -228,14 +171 ,11 @@
1751
1720
}
1752
1721
a: (_|_){
1753
1722
// [eval]
@@ -1763,7 +1732,7 @@ diff old new
1763
1732
}
1764
1733
}
1765
1734
andInStruct: (_|_){
1766
- @@ -245,14 +193 ,11 @@
1735
+ @@ -245,14 +185 ,11 @@
1767
1736
}
1768
1737
a: (_|_){
1769
1738
// [eval]
@@ -1779,7 +1748,7 @@ diff old new
1779
1748
}
1780
1749
}
1781
1750
embedDefWithEmbedding: (_|_){
1782
- @@ -262,15 +207 ,11 @@
1751
+ @@ -262,15 +199 ,11 @@
1783
1752
}
1784
1753
a: (_|_){
1785
1754
// [eval]
@@ -1796,7 +1765,7 @@ diff old new
1796
1765
}
1797
1766
}
1798
1767
embedComprehension: (_|_){
1799
- @@ -280,16 +221 ,11 @@
1768
+ @@ -280,16 +213 ,11 @@
1800
1769
}
1801
1770
a: (_|_){
1802
1771
// [eval]
@@ -1814,7 +1783,7 @@ diff old new
1814
1783
}
1815
1784
}
1816
1785
fieldWithAnd: (_|_){
1817
- @@ -300,9 +236 ,6 @@
1786
+ @@ -300,9 +228 ,6 @@
1818
1787
// [eval]
1819
1788
err: (_|_){
1820
1789
// [eval] embed.fieldWithAnd.a.err: field not allowed:
@@ -1824,7 +1793,7 @@ diff old new
1824
1793
// ./in.cue:20:13
1825
1794
}
1826
1795
}
1827
- @@ -313,20 +246 ,15 @@
1796
+ @@ -313,20 +238 ,15 @@
1828
1797
a: (int){ int }
1829
1798
}
1830
1799
B: (struct){
@@ -1850,7 +1819,7 @@ diff old new
1850
1819
}
1851
1820
}
1852
1821
andEmbed: (_|_){
1853
- @@ -342,17 +270 ,11 @@
1822
+ @@ -342,17 +262 ,11 @@
1854
1823
}
1855
1824
d: (_|_){
1856
1825
// [eval]
@@ -1869,7 +1838,7 @@ diff old new
1869
1838
}
1870
1839
}
1871
1840
nonDef: (struct){
1872
- @@ -361,12 +283 ,12 @@
1841
+ @@ -361,12 +275 ,12 @@
1873
1842
a: (string){ string }
1874
1843
}
1875
1844
#Y: (#struct){
@@ -1886,7 +1855,7 @@ diff old new
1886
1855
}
1887
1856
}
1888
1857
}
1889
- @@ -376,12 +298 ,12 @@
1858
+ @@ -376,12 +290 ,12 @@
1890
1859
Name: (string){ string }
1891
1860
}
1892
1861
#Step: (#struct){
@@ -1903,7 +1872,7 @@ diff old new
1903
1872
}
1904
1873
out: (#struct){
1905
1874
Name: (string){ "foo" }
1906
- @@ -391,21 +313 ,15 @@
1875
+ @@ -391,21 +305 ,15 @@
1907
1876
}
1908
1877
withIndirect: (_|_){
1909
1878
// [eval]
@@ -1930,7 +1899,7 @@ diff old new
1930
1899
}
1931
1900
normalValidator: (_|_){
1932
1901
// [eval]
1933
- @@ -415,20 +331 ,17 @@
1902
+ @@ -415,20 +323 ,17 @@
1934
1903
}
1935
1904
x: (_|_){
1936
1905
// [eval]
@@ -1954,7 +1923,7 @@ diff old new
1954
1923
#X: (_){
1955
1924
matchN(0, (#list){
1956
1925
})
1957
- @@ -435,17 +348 ,10 @@
1926
+ @@ -435,17 +340 ,10 @@
1958
1927
a?: (int){ int }
1959
1928
b?: (int){ int }
1960
1929
}
@@ -1976,7 +1945,7 @@ diff old new
1976
1945
}
1977
1946
}
1978
1947
t2: (_|_){
1979
- @@ -464,10 +370 ,7 @@
1948
+ @@ -464,10 +362 ,7 @@
1980
1949
// [eval]
1981
1950
b: (_|_){
1982
1951
// [eval] embed.openValidator.t2.a.b: conflicting values 1 and {b?:Y} (mismatched types int and struct):
@@ -1987,7 +1956,7 @@ diff old new
1987
1956
// ./validators.cue:24:8
1988
1957
// embed.openValidator.t2.a.b: invalid value 1 (does not satisfy matchN): 0 matched, expected 1:
1989
1958
// ./validators.cue:21:5
1990
- @@ -510,16 +413 ,11 @@
1959
+ @@ -510,16 +405 ,11 @@
1991
1960
}
1992
1961
out: (_|_){
1993
1962
// [eval]
@@ -2005,7 +1974,7 @@ diff old new
2005
1974
}
2006
1975
}
2007
1976
}
2008
- @@ -552,17 +450 ,11 @@
1977
+ @@ -552,17 +442 ,11 @@
2009
1978
}
2010
1979
out: (_|_){
2011
1980
// [eval]
@@ -2024,7 +1993,7 @@ diff old new
2024
1993
}
2025
1994
}
2026
1995
}
2027
- @@ -608,8 +500 ,8 @@
1996
+ @@ -608,8 +492 ,8 @@
2028
1997
// ./issue3832.cue:8:16
2029
1998
}
2030
1999
outFirstName: (_|_){
@@ -2035,7 +2004,7 @@ diff old new
2035
2004
}
2036
2005
}
2037
2006
}
2038
- @@ -619,35 +511 ,27 @@
2007
+ @@ -619,35 +503 ,27 @@
2039
2008
}, (#struct){
2040
2009
pass: (#struct){
2041
2010
let self#1 = (_|_){
@@ -2081,7 +2050,7 @@ diff old new
2081
2050
pass: (#struct){
2082
2051
let self#1 = (#struct){
2083
2052
firstName: (string){ "Sam" }
2084
- @@ -654,20 +538 ,24 @@
2053
+ @@ -654,20 +530 ,24 @@
2085
2054
}
2086
2055
outFirstName: (string){ "Sam" }
2087
2056
}
@@ -2120,7 +2089,7 @@ diff old new
2120
2089
ok: (struct){
2121
2090
out: (#struct){
2122
2091
a: (#struct){
2123
- @@ -688,11 +576 ,18 @@
2092
+ @@ -688,11 +568 ,18 @@
2124
2093
b: (string){ "foo" }
2125
2094
}
2126
2095
}
@@ -2144,7 +2113,7 @@ diff old new
2144
2113
}
2145
2114
}
2146
2115
#A: (#struct){
2147
- @@ -763,12 +658 ,8 @@
2116
+ @@ -763,12 +650 ,8 @@
2148
2117
globalField: (string){ string }
2149
2118
}
2150
2119
#Context: (#struct){
@@ -2159,7 +2128,7 @@ diff old new
2159
2128
}
2160
2129
out: (struct){
2161
2130
ingress: (#struct){
2162
- @@ -796,22 +687 ,22 @@
2131
+ @@ -796,22 +679 ,22 @@
2163
2132
#Z: (#struct){
2164
2133
}
2165
2134
x: (#struct){
@@ -2198,7 +2167,7 @@ diff old new
2198
2167
z: (int){ 1 }
2199
2168
}
2200
2169
}
2201
- @@ -821,22 +712 ,22 @@
2170
+ @@ -821,22 +704 ,22 @@
2202
2171
#Z: (#struct){
2203
2172
}
2204
2173
x: (#struct){
@@ -2237,7 +2206,7 @@ diff old new
2237
2206
z: (int){ 1 }
2238
2207
}
2239
2208
}
2240
- @@ -851,11 +742 ,7 @@
2209
+ @@ -851,11 +734 ,7 @@
2241
2210
}
2242
2211
}
2243
2212
#JobConfig: (#struct){
@@ -2250,7 +2219,7 @@ diff old new
2250
2219
job: (#struct){
2251
2220
image: (string){ "foo:v1" }
2252
2221
vcs: (string){ "git" }
2253
- @@ -919,7 +806 ,7 @@
2222
+ @@ -919,7 +798 ,7 @@
2254
2223
}
2255
2224
}
2256
2225
out: (#struct){
@@ -2259,7 +2228,7 @@ diff old new
2259
2228
input: (#struct){
2260
2229
image: (string){ "someimage" }
2261
2230
env: (string){ "FOO" }
2262
- @@ -951,11 +838 ,11 @@
2231
+ @@ -951,11 +830 ,11 @@
2263
2232
_in: (_){ _ }
2264
2233
out: (_){ _ }
2265
2234
}
@@ -2276,7 +2245,7 @@ diff old new
2276
2245
e: (string){ "foo" }
2277
2246
f: (int){ 1 }
2278
2247
}
2279
- @@ -988,24 +875 ,16 @@
2248
+ @@ -988,24 +867 ,16 @@
2280
2249
_in: (_){ _ }
2281
2250
out: (_){ _ }
2282
2251
}
@@ -2311,7 +2280,7 @@ diff old new
2311
2280
}
2312
2281
}
2313
2282
issue3934: (struct){
2314
- @@ -1052,7 +931 ,7 @@
2283
+ @@ -1052,7 +923 ,7 @@
2315
2284
op: (string){ "add" }
2316
2285
path: (string){ "/metadata" }
2317
2286
value: (_|_){
@@ -2320,7 +2289,7 @@ diff old new
2320
2289
// ./large.cue:7:25
2321
2290
// ./large.cue:3:12
2322
2291
}
2323
- @@ -1081,38 +960 ,11 @@
2292
+ @@ -1081,38 +952 ,11 @@
2324
2293
#Main: (#struct){
2325
2294
namespace: (string){ string }
2326
2295
output: (_|_){
@@ -2361,7 +2330,7 @@ diff old new
2361
2330
let base#6 = (#struct){
2362
2331
someMsg: (string){ string }
2363
2332
obs: (#struct){ |(*(#struct){
2364
- @@ -1131,7 +983 ,7 @@
2333
+ @@ -1131,7 +975 ,7 @@
2365
2334
op: (string){ "add" }
2366
2335
path: (string){ "/metadata" }
2367
2336
value: (_|_){
@@ -2370,7 +2339,7 @@ diff old new
2370
2339
// ./large.cue:7:25
2371
2340
// ./large.cue:3:12
2372
2341
}
2373
- @@ -1155,6 +1007 ,19 @@
2342
+ @@ -1155,6 +999 ,19 @@
2374
2343
}
2375
2344
}
2376
2345
}
@@ -2390,7 +2359,7 @@ diff old new
2390
2359
}
2391
2360
}
2392
2361
out: (#struct){
2393
- @@ -1184,17 +1049 ,8 @@
2362
+ @@ -1184,17 +1041 ,8 @@
2394
2363
// ./validators.cue:32:17
2395
2364
// disjunction.withErr.t1.out.b1.b2.b3: undefined field: mayExistLater:
2396
2365
// ./validators.cue:29:22
0 commit comments