@@ -685,6 +685,7 @@ e4.b.0.0.0: conflicting values [{c:1}] and {} (mismatched types list and struct)
685
685
./in.cue:423:6
686
686
./in.cue:424:10
687
687
e4.b.0.0.0: structural cycle
688
+ issue2545.#B.A: structural cycle
688
689
nestedList.v1e.y.0: 4 errors in empty disjunction:
689
690
nestedList.v1e.y.0: conflicting values [[2],1] and int (mismatched types list and int):
690
691
./in.cue:438:11
@@ -1404,12 +1405,16 @@ Result:
1404
1405
}
1405
1406
}
1406
1407
}
1407
- issue2545: (struct){
1408
+ issue2545: (_|_){
1409
+ // [structural cycle]
1408
1410
#A: (#struct){
1409
1411
B?: ~(issue2545.#B)
1410
1412
}
1411
- #B: (#struct){
1412
- A: ~(issue2545.#A)
1413
+ #B: (_|_){
1414
+ // [structural cycle]
1415
+ A: (_|_){
1416
+ // [structural cycle] issue2545.#B.A: structural cycle
1417
+ }
1413
1418
}
1414
1419
}
1415
1420
e1: (_|_){
@@ -1869,7 +1874,7 @@ diff old new
1869
1874
e1.a.c: structural cycle
1870
1875
e1.b.c: structural cycle
1871
1876
e2.a.c: structural cycle
1872
- @@ -32,62 +37,94 @@
1877
+ @@ -32,62 +37,95 @@
1873
1878
./in.cue:415:5
1874
1879
./in.cue:416:5
1875
1880
e3.b.c: structural cycle
@@ -1916,7 +1921,6 @@ diff old new
1916
1921
./in.cue:423:6
1917
1922
- ./in.cue:424:6
1918
1923
- ./in.cue:424:10
1919
- -issue2545.#B.A: structural cycle
1920
1924
+ ./in.cue:424:10
1921
1925
+e4.b.0.0.0: 4 errors in empty disjunction:
1922
1926
+e4.b.0.0.0: conflicting values [{c:1}] and {c:1} (mismatched types list and struct):
@@ -1926,6 +1930,7 @@ diff old new
1926
1930
+ ./in.cue:423:6
1927
1931
+ ./in.cue:424:10
1928
1932
+e4.b.0.0.0: structural cycle
1933
+ issue2545.#B.A: structural cycle
1929
1934
nestedList.v1e.y.0: 4 errors in empty disjunction:
1930
1935
-nestedList.v1e.y.0: conflicting values int and [[2],1] (mismatched types int and list):
1931
1936
+nestedList.v1e.y.0: conflicting values [[2],1] and int (mismatched types list and int):
@@ -1991,7 +1996,7 @@ diff old new
1991
1996
1992
1997
Result:
1993
1998
(_|_){
1994
- @@ -129,10 +166 ,7 @@
1999
+ @@ -129,10 +167 ,7 @@
1995
2000
a7: (struct){
1996
2001
a: (string){ "foo" }
1997
2002
b: (struct){
@@ -2003,7 +2008,7 @@ diff old new
2003
2008
y: (string){ "foo" }
2004
2009
}
2005
2010
c: (struct){
2006
- @@ -169,11 +203 ,17 @@
2011
+ @@ -169,11 +204 ,17 @@
2007
2012
}
2008
2013
}
2009
2014
b4: (_|_){
@@ -2026,7 +2031,7 @@ diff old new
2026
2031
}
2027
2032
}
2028
2033
x: (_|_){
2029
- @@ -241,10 +281 ,9 @@
2034
+ @@ -241,10 +282 ,9 @@
2030
2035
// [eval]
2031
2036
0: (_|_){
2032
2037
// [eval] b6.b.a.0: conflicting values 1 and [1] (mismatched types int and list):
@@ -2038,7 +2043,7 @@ diff old new
2038
2043
0: (_|_){
2039
2044
// [structural cycle] b6.b.a.0.0: structural cycle
2040
2045
}
2041
- @@ -262,11 +301 ,20 @@
2046
+ @@ -262,11 +302 ,20 @@
2042
2047
}
2043
2048
}
2044
2049
b7: (_|_){
@@ -2064,7 +2069,7 @@ diff old new
2064
2069
}
2065
2070
}
2066
2071
a: (_|_){
2067
- @@ -277,9 +325 ,7 @@
2072
+ @@ -277,9 +326 ,7 @@
2068
2073
}
2069
2074
}
2070
2075
b8: (struct){
@@ -2075,7 +2080,7 @@ diff old new
2075
2080
a: (struct){
2076
2081
f: (string){ string }
2077
2082
}
2078
- @@ -305,7 +351 ,7 @@
2083
+ @@ -305,7 +352 ,7 @@
2079
2084
#ref: (#struct){
2080
2085
ref: (string){ string }
2081
2086
}
@@ -2084,7 +2089,7 @@ diff old new
2084
2089
c: (#list){
2085
2090
0: ((string|struct)){ |((string){ string }, (#struct){
2086
2091
ref: (string){ string }
2087
- @@ -328,7 +374 ,13 @@
2092
+ @@ -328,7 +375 ,13 @@
2088
2093
}) }
2089
2094
}
2090
2095
c: (#struct){
@@ -2099,7 +2104,7 @@ diff old new
2099
2104
}
2100
2105
d: (struct){
2101
2106
d: (struct){
2102
- @@ -338,9 +390 ,7 @@
2107
+ @@ -338,9 +391 ,7 @@
2103
2108
}
2104
2109
b11: (struct){
2105
2110
#list: (#struct){
@@ -2110,7 +2115,7 @@ diff old new
2110
2115
}
2111
2116
}
2112
2117
b12: (struct){
2113
- @@ -357,7 +407 ,11 @@
2118
+ @@ -357,7 +408 ,11 @@
2114
2119
value: (int){ 3 }
2115
2120
tail: (#struct){
2116
2121
value: (int){ 4 }
@@ -2123,7 +2128,7 @@ diff old new
2123
2128
sum: (int){ 4 }
2124
2129
}
2125
2130
sum: (int){ 7 }
2126
- @@ -429,10 +483 ,7 @@
2131
+ @@ -429,10 +484 ,7 @@
2127
2132
link: (#struct){
2128
2133
a: (#struct){
2129
2134
two: (#struct){
@@ -2135,7 +2140,7 @@ diff old new
2135
2140
}
2136
2141
}
2137
2142
}
2138
- @@ -506,10 +557 ,7 @@
2143
+ @@ -506,10 +558 ,7 @@
2139
2144
link: (#struct){
2140
2145
a: (#list){
2141
2146
0: (#struct){
@@ -2147,7 +2152,7 @@ diff old new
2147
2152
}
2148
2153
}
2149
2154
}
2150
- @@ -600,47 +648 ,27 @@
2155
+ @@ -600,47 +649 ,27 @@
2151
2156
// [structural cycle]
2152
2157
h: (int){ int }
2153
2158
t: (_|_){
@@ -2212,7 +2217,7 @@ diff old new
2212
2217
c: (_|_){
2213
2218
// [structural cycle]
2214
2219
d: (_|_){
2215
- @@ -667,28 +695 ,25 @@
2220
+ @@ -667,28 +696 ,25 @@
2216
2221
}
2217
2222
x: (_|_){
2218
2223
// [structural cycle]
@@ -2246,7 +2251,7 @@ diff old new
2246
2251
#List: (#struct){
2247
2252
Next: (null){ null }
2248
2253
}
2249
- @@ -697,9 +722 ,7 @@
2254
+ @@ -697,9 +723 ,7 @@
2250
2255
// [structural cycle]
2251
2256
t1: (struct){
2252
2257
#Foo: (#struct){
@@ -2257,7 +2262,7 @@ diff old new
2257
2262
}
2258
2263
}
2259
2264
t2: (_|_){
2260
- @@ -707,10 +730 ,7 @@
2265
+ @@ -707,10 +731 ,7 @@
2261
2266
Foo: (_|_){
2262
2267
// [structural cycle]
2263
2268
ref: (_|_){
@@ -2269,7 +2274,7 @@ diff old new
2269
2274
}
2270
2275
}
2271
2276
}
2272
- @@ -717,9 +737 ,7 @@
2277
+ @@ -717,9 +738 ,7 @@
2273
2278
}
2274
2279
comprehension: (struct){
2275
2280
#list: (#struct){
@@ -2280,7 +2285,7 @@ diff old new
2280
2285
}
2281
2286
}
2282
2287
}
2283
- @@ -745,8 +763 ,7 @@
2288
+ @@ -745,8 +764 ,7 @@
2284
2289
}
2285
2290
}
2286
2291
let _schema_1#1 = (_|_){
@@ -2290,7 +2295,7 @@ diff old new
2290
2295
}
2291
2296
}
2292
2297
fieldsSumInfinite: (_|_){
2293
- @@ -757,7 +774 ,8 @@
2298
+ @@ -757,7 +775 ,8 @@
2294
2299
fries: (float){ 2.00 }
2295
2300
sprite: (float){ 1.00 }
2296
2301
total: (_|_){
@@ -2300,44 +2305,32 @@ diff old new
2300
2305
}
2301
2306
}
2302
2307
}
2303
- @@ -772,27 +790,16 @@
2308
+ @@ -772,9 +791,7 @@
2304
2309
head: (int){ 3 }
2305
2310
tail: (struct){
2306
2311
head: (int){ 2 }
2307
2312
- tail?: (_|_){
2308
2313
- // [structural cycle] listOptOK.a.tail.tail: structural cycle
2309
2314
- }
2310
- - }
2311
- - }
2312
- - }
2313
- - issue2545: (_|_){
2314
- - // [structural cycle]
2315
2315
+ tail?: ~(listOptOK.list)
2316
- + }
2317
- + }
2318
- + }
2319
- + issue2545: (struct){
2316
+ }
2317
+ }
2318
+ }
2319
+ @@ -781,12 +798,7 @@
2320
+ issue2545: (_|_){
2321
+ // [structural cycle]
2320
2322
#A: (#struct){
2321
2323
- B?: (_|_){
2322
2324
- // [structural cycle]
2323
2325
- A: (_|_){
2324
2326
- // [structural cycle] issue2545.#A.B.A: structural cycle
2325
2327
- }
2326
2328
- }
2327
- - }
2328
- - #B: (_|_){
2329
- - // [structural cycle]
2330
- - A: (_|_){
2331
- - // [structural cycle] issue2545.#B.A: structural cycle
2332
- - }
2333
2329
+ B?: ~(issue2545.#B)
2334
- + }
2335
- + #B: (#struct){
2336
- + A: ~(issue2545.#A)
2337
2330
}
2338
- }
2339
- e1: (_|_){
2340
- @@ -831,11 +838 ,12 @@
2331
+ #B: (_|_){
2332
+ // [structural cycle]
2333
+ @@ -831,11 +843 ,12 @@
2341
2334
// [eval] e3.a: conflicting values [a] and {c:a} (mismatched types list and struct):
2342
2335
// ./in.cue:412:5
2343
2336
// ./in.cue:413:5
@@ -2355,7 +2348,7 @@ diff old new
2355
2348
}
2356
2349
}
2357
2350
b: (_|_){
2358
- @@ -842,11 +850 ,12 @@
2351
+ @@ -842,11 +855 ,12 @@
2359
2352
// [eval] e3.b: conflicting values [b] and {c:b} (mismatched types list and struct):
2360
2353
// ./in.cue:415:5
2361
2354
// ./in.cue:416:5
@@ -2373,7 +2366,7 @@ diff old new
2373
2366
}
2374
2367
}
2375
2368
}
2376
- @@ -855,38 +864 ,72 @@
2369
+ @@ -855,38 +869 ,72 @@
2377
2370
a: (_|_){
2378
2371
// [eval]
2379
2372
0: (_|_){
@@ -2468,7 +2461,7 @@ diff old new
2468
2461
0: (struct){
2469
2462
c: (int){ 1 }
2470
2463
}
2471
- @@ -913,17 +956 ,16 @@
2464
+ @@ -913,17 +961 ,16 @@
2472
2465
// [eval]
2473
2466
0: (_|_){
2474
2467
// [eval] nestedList.v1e.y.0: 4 errors in empty disjunction:
@@ -2491,7 +2484,7 @@ diff old new
2491
2484
1: (int){ 1 }
2492
2485
}
2493
2486
1: (int){ 1 }
2494
- @@ -935,17 +977 ,16 @@
2487
+ @@ -935,17 +982 ,16 @@
2495
2488
// [eval]
2496
2489
0: (_|_){
2497
2490
// [eval] nestedList.v2e.y.0: 4 errors in empty disjunction:
@@ -2514,7 +2507,7 @@ diff old new
2514
2507
1: (int){ 1 }
2515
2508
}
2516
2509
1: (int){ 1 }
2517
- @@ -999,7 +1040 ,10 @@
2510
+ @@ -999,7 +1045 ,10 @@
2518
2511
head: (int){ 3 }
2519
2512
tail: (struct){
2520
2513
head: (int){ 4 }
@@ -2526,7 +2519,7 @@ diff old new
2526
2519
}
2527
2520
}
2528
2521
}
2529
- @@ -1013,7 +1057 ,10 @@
2522
+ @@ -1013,7 +1062 ,10 @@
2530
2523
head: (int){ 2 }
2531
2524
tail: (struct){
2532
2525
head: (int){ 3 }
@@ -2538,7 +2531,7 @@ diff old new
2538
2531
}
2539
2532
}
2540
2533
}
2541
- @@ -1027,8 +1074 ,12 @@
2534
+ @@ -1027,8 +1079 ,12 @@
2542
2535
head: (int){ 2 }
2543
2536
tail: (struct){ |((struct){
2544
2537
head: (int){ 3 }
@@ -2553,7 +2546,7 @@ diff old new
2553
2546
}, (struct){
2554
2547
head: (int){ 3 }
2555
2548
}) }
2556
- @@ -1050,9 +1101 ,7 @@
2549
+ @@ -1050,9 +1106 ,7 @@
2557
2550
// [structural cycle]
2558
2551
f: (_|_){
2559
2552
// [structural cycle]
@@ -2564,7 +2557,7 @@ diff old new
2564
2557
}
2565
2558
g: (_|_){
2566
2559
// [structural cycle]
2567
- @@ -1073,10 +1122 ,7 @@
2560
+ @@ -1073,10 +1127 ,7 @@
2568
2561
x: (_){ _ }
2569
2562
y: (_){ _ }
2570
2563
}
@@ -2576,7 +2569,7 @@ diff old new
2576
2569
}
2577
2570
}
2578
2571
t2: (struct){
2579
- @@ -1089,10 +1135 ,7 @@
2572
+ @@ -1089,10 +1140 ,7 @@
2580
2573
x: (_){ _ }
2581
2574
y: (_){ _ }
2582
2575
}
@@ -2588,7 +2581,7 @@ diff old new
2588
2581
}
2589
2582
}
2590
2583
t3: (struct){
2591
- @@ -1107,16 +1150 ,8 @@
2584
+ @@ -1107,16 +1155 ,8 @@
2592
2585
y: (_){ _ }
2593
2586
z: (_){ _ }
2594
2587
}
@@ -2607,7 +2600,7 @@ diff old new
2607
2600
}
2608
2601
}
2609
2602
t4: (struct){
2610
- @@ -1132,51 +1167 ,11 @@
2603
+ @@ -1132,51 +1172 ,11 @@
2611
2604
y: (_){ _ }
2612
2605
z: (_){ _ }
2613
2606
}
@@ -2664,7 +2657,7 @@ diff old new
2664
2657
}
2665
2658
}
2666
2659
t5: (struct){
2667
- @@ -1187,18 +1182 ,8 @@
2660
+ @@ -1187,18 +1187 ,8 @@
2668
2661
}
2669
2662
}
2670
2663
C: (struct){
@@ -2685,7 +2678,7 @@ diff old new
2685
2678
}
2686
2679
}
2687
2680
}
2688
- @@ -1221,19 +1206 ,19 @@
2681
+ @@ -1221,19 +1211 ,19 @@
2689
2682
}
2690
2683
}
2691
2684
n4: (struct){
0 commit comments