@@ -275,7 +275,6 @@ d2: {
275
275
}
276
276
277
277
d3: {
278
- // TODO(errors): correct position reporting in structural cycle.
279
278
config: {
280
279
a: b: c: indirect
281
280
indirect: [a.b, null][i]
@@ -462,72 +461,72 @@ e1.b.c: structural cycle
462
461
e2.a.c: structural cycle
463
462
e2.b.c: structural cycle
464
463
e3.a: conflicting values [a] and {c:a} (mismatched types list and struct):
464
+ ./in.cue:304:8
465
465
./in.cue:305:8
466
- ./in.cue:306:8
467
466
e3.a.0: conflicting values [a] and {c:a} (mismatched types list and struct):
467
+ ./in.cue:304:8
468
+ ./in.cue:304:9
468
469
./in.cue:305:8
469
- ./in.cue:305:9
470
- ./in.cue:306:8
471
470
e3.a.0: structural cycle
472
471
e3.a.c: conflicting values [a] and {c:a} (mismatched types list and struct):
472
+ ./in.cue:304:8
473
473
./in.cue:305:8
474
- ./in.cue:306:8
475
- ./in.cue:306:11
474
+ ./in.cue:305:11
476
475
e3.a.c: structural cycle
477
476
e3.b: conflicting values [b] and {c:b} (mismatched types list and struct):
477
+ ./in.cue:307:8
478
478
./in.cue:308:8
479
- ./in.cue:309:8
480
479
e3.b.0: conflicting values [b] and {c:b} (mismatched types list and struct):
480
+ ./in.cue:307:8
481
+ ./in.cue:307:9
481
482
./in.cue:308:8
482
- ./in.cue:308:9
483
- ./in.cue:309:8
484
483
e3.b.0: structural cycle
485
484
e3.b.c: conflicting values [b] and {c:b} (mismatched types list and struct):
485
+ ./in.cue:307:8
486
486
./in.cue:308:8
487
- ./in.cue:309:8
488
- ./in.cue:309:11
487
+ ./in.cue:308:11
489
488
e3.b.c: structural cycle
490
489
e4.a.0: 4 errors in empty disjunction:
491
490
e4.a.0: conflicting values [{c:1}] and {} (mismatched types list and struct):
492
- ./in.cue:313 :13
493
- ./in.cue:314 :9
491
+ ./in.cue:312 :13
492
+ ./in.cue:313 :9
494
493
e4.a.0.0: 2 errors in empty disjunction:
495
494
e4.a.0.0: conflicting values [[{c:1}]] and {c:1} (mismatched types list and struct):
496
- ./in.cue:314 :8
497
- ./in.cue:314 :10
495
+ ./in.cue:313 :8
496
+ ./in.cue:313 :10
498
497
e4.a.0.0: conflicting values [{c:1}] and {} (mismatched types list and struct):
498
+ ./in.cue:312:9
499
+ ./in.cue:312:13
499
500
./in.cue:313:9
500
- ./in.cue:313:13
501
- ./in.cue:314:9
502
501
e4.b.0: 4 errors in empty disjunction:
503
502
e4.b.0: conflicting values [{c:1}] and {} (mismatched types list and struct):
504
- ./in.cue:316 :9
505
- ./in.cue:317 :13
503
+ ./in.cue:315 :9
504
+ ./in.cue:316 :13
506
505
e4.b.0.0: 2 errors in empty disjunction:
507
506
e4.b.0.0: conflicting values [(b|{})] and {c:1} (mismatched types list and struct):
508
- ./in.cue:316 :10
509
- ./in.cue:317 :8
507
+ ./in.cue:315 :10
508
+ ./in.cue:316 :8
510
509
e4.b.0.0: conflicting values [{c:1}] and {} (mismatched types list and struct):
510
+ ./in.cue:315:9
511
511
./in.cue:316:9
512
- ./in.cue:317:9
513
- ./in.cue:317:13
512
+ ./in.cue:316:13
514
513
nestedList.v1e.y.0: 4 errors in empty disjunction:
515
514
nestedList.v1e.y.0: conflicting values int and [[2],1] (mismatched types int and list):
515
+ ./in.cue:332:17
516
516
./in.cue:333:17
517
- ./in.cue:334:17
518
517
nestedList.v1e.y.0.0: 2 errors in empty disjunction:
519
518
nestedList.v1e.y.0.0: conflicting values int and [2] (mismatched types int and list):
520
- ./in.cue:333 :17
521
- ./in.cue:334 :18
519
+ ./in.cue:332 :17
520
+ ./in.cue:333 :18
522
521
nestedList.v1e.y.0.0: incompatible list lengths (1 and 2)
523
522
nestedList.v2e.y.0: 4 errors in empty disjunction:
524
523
nestedList.v2e.y.0: conflicting values int and [[2],1] (mismatched types int and list):
524
+ ./in.cue:337:17
525
525
./in.cue:338:17
526
- ./in.cue:339:17
527
526
nestedList.v2e.y.0.0: 2 errors in empty disjunction:
528
527
nestedList.v2e.y.0.0: conflicting values int and [2] (mismatched types int and list):
529
- ./in.cue:338 :18
530
- ./in.cue:339 :17
528
+ ./in.cue:337 :18
529
+ ./in.cue:338 :17
531
530
nestedList.v2e.y.0.0: incompatible list lengths (1 and 2)
532
531
p2.#T.a.b.link: structural cycle
533
532
p3.#U.#T.a.b.link: structural cycle
@@ -537,8 +536,8 @@ z1.z.f.h.h: structural cycle
537
536
z1.z.g.h: structural cycle
538
537
cycle error:
539
538
./in.cue:141:10
540
- 0: structural cycle:
541
- ./in.cue:280 :19
539
+ d3.config. 0: structural cycle:
540
+ ./in.cue:279 :19
542
541
543
542
Result:
544
543
(_|_){
@@ -1148,20 +1147,20 @@ Result:
1148
1147
b: (_|_){
1149
1148
// [structural cycle]
1150
1149
c: (_|_){
1151
- // [structural cycle] 0: structural cycle:
1152
- // ./in.cue:280 :19
1150
+ // [structural cycle] d3.config. 0: structural cycle:
1151
+ // ./in.cue:279 :19
1153
1152
}
1154
1153
}
1155
1154
}
1156
1155
indirect: (_|_){
1157
- // [structural cycle] 0: structural cycle:
1158
- // ./in.cue:280 :19
1156
+ // [structural cycle] d3.config. 0: structural cycle:
1157
+ // ./in.cue:279 :19
1159
1158
}
1160
1159
i: (int){ |(*(int){ 1 }, (int){ int }) }
1161
1160
}
1162
1161
x: (_|_){
1163
- // [structural cycle] 0: structural cycle:
1164
- // ./in.cue:280 :19
1162
+ // [structural cycle] d3.config. 0: structural cycle:
1163
+ // ./in.cue:279 :19
1165
1164
i: (int){ 0 }
1166
1165
}
1167
1166
}
@@ -1199,39 +1198,39 @@ Result:
1199
1198
// [eval]
1200
1199
a: (_|_){
1201
1200
// [eval] e3.a: conflicting values [a] and {c:a} (mismatched types list and struct):
1201
+ // ./in.cue:304:8
1202
1202
// ./in.cue:305:8
1203
- // ./in.cue:306:8
1204
1203
c: (_|_){
1205
1204
// [eval] e3.a.c: conflicting values [a] and {c:a} (mismatched types list and struct):
1205
+ // ./in.cue:304:8
1206
1206
// ./in.cue:305:8
1207
- // ./in.cue:306:8
1208
- // ./in.cue:306:11
1207
+ // ./in.cue:305:11
1209
1208
// e3.a.c: structural cycle
1210
1209
}
1211
1210
0: (_|_){
1212
1211
// [eval] e3.a.0: conflicting values [a] and {c:a} (mismatched types list and struct):
1212
+ // ./in.cue:304:8
1213
+ // ./in.cue:304:9
1213
1214
// ./in.cue:305:8
1214
- // ./in.cue:305:9
1215
- // ./in.cue:306:8
1216
1215
// e3.a.0: structural cycle
1217
1216
}
1218
1217
}
1219
1218
b: (_|_){
1220
1219
// [eval] e3.b: conflicting values [b] and {c:b} (mismatched types list and struct):
1220
+ // ./in.cue:307:8
1221
1221
// ./in.cue:308:8
1222
- // ./in.cue:309:8
1223
1222
c: (_|_){
1224
1223
// [eval] e3.b.c: conflicting values [b] and {c:b} (mismatched types list and struct):
1224
+ // ./in.cue:307:8
1225
1225
// ./in.cue:308:8
1226
- // ./in.cue:309:8
1227
- // ./in.cue:309:11
1226
+ // ./in.cue:308:11
1228
1227
// e3.b.c: structural cycle
1229
1228
}
1230
1229
0: (_|_){
1231
1230
// [eval] e3.b.0: conflicting values [b] and {c:b} (mismatched types list and struct):
1231
+ // ./in.cue:307:8
1232
+ // ./in.cue:307:9
1232
1233
// ./in.cue:308:8
1233
- // ./in.cue:308:9
1234
- // ./in.cue:309:8
1235
1234
// e3.b.0: structural cycle
1236
1235
}
1237
1236
}
@@ -1243,16 +1242,16 @@ Result:
1243
1242
0: (_|_){
1244
1243
// [eval] e4.a.0: 4 errors in empty disjunction:
1245
1244
// e4.a.0: conflicting values [{c:1}] and {} (mismatched types list and struct):
1246
- // ./in.cue:313 :13
1247
- // ./in.cue:314 :9
1245
+ // ./in.cue:312 :13
1246
+ // ./in.cue:313 :9
1248
1247
// e4.a.0.0: 2 errors in empty disjunction:
1249
1248
// e4.a.0.0: conflicting values [[{c:1}]] and {c:1} (mismatched types list and struct):
1250
- // ./in.cue:314 :8
1251
- // ./in.cue:314 :10
1249
+ // ./in.cue:313 :8
1250
+ // ./in.cue:313 :10
1252
1251
// e4.a.0.0: conflicting values [{c:1}] and {} (mismatched types list and struct):
1252
+ // ./in.cue:312:9
1253
+ // ./in.cue:312:13
1253
1254
// ./in.cue:313:9
1254
- // ./in.cue:313:13
1255
- // ./in.cue:314:9
1256
1255
0: (struct){
1257
1256
c: (int){ 1 }
1258
1257
}
@@ -1263,16 +1262,16 @@ Result:
1263
1262
0: (_|_){
1264
1263
// [eval] e4.b.0: 4 errors in empty disjunction:
1265
1264
// e4.b.0: conflicting values [{c:1}] and {} (mismatched types list and struct):
1266
- // ./in.cue:316 :9
1267
- // ./in.cue:317 :13
1265
+ // ./in.cue:315 :9
1266
+ // ./in.cue:316 :13
1268
1267
// e4.b.0.0: 2 errors in empty disjunction:
1269
1268
// e4.b.0.0: conflicting values [(b|{})] and {c:1} (mismatched types list and struct):
1270
- // ./in.cue:316 :10
1271
- // ./in.cue:317 :8
1269
+ // ./in.cue:315 :10
1270
+ // ./in.cue:316 :8
1272
1271
// e4.b.0.0: conflicting values [{c:1}] and {} (mismatched types list and struct):
1272
+ // ./in.cue:315:9
1273
1273
// ./in.cue:316:9
1274
- // ./in.cue:317:9
1275
- // ./in.cue:317:13
1274
+ // ./in.cue:316:13
1276
1275
0: (struct){
1277
1276
c: (int){ 1 }
1278
1277
}
@@ -1300,12 +1299,12 @@ Result:
1300
1299
0: (_|_){
1301
1300
// [eval] nestedList.v1e.y.0: 4 errors in empty disjunction:
1302
1301
// nestedList.v1e.y.0: conflicting values int and [[2],1] (mismatched types int and list):
1302
+ // ./in.cue:332:17
1303
1303
// ./in.cue:333:17
1304
- // ./in.cue:334:17
1305
1304
// nestedList.v1e.y.0.0: 2 errors in empty disjunction:
1306
1305
// nestedList.v1e.y.0.0: conflicting values int and [2] (mismatched types int and list):
1307
- // ./in.cue:333 :17
1308
- // ./in.cue:334 :18
1306
+ // ./in.cue:332 :17
1307
+ // ./in.cue:333 :18
1309
1308
// nestedList.v1e.y.0.0: incompatible list lengths (1 and 2)
1310
1309
0: (#list){
1311
1310
0: (int){ 2 }
@@ -1322,12 +1321,12 @@ Result:
1322
1321
0: (_|_){
1323
1322
// [eval] nestedList.v2e.y.0: 4 errors in empty disjunction:
1324
1323
// nestedList.v2e.y.0: conflicting values int and [[2],1] (mismatched types int and list):
1324
+ // ./in.cue:337:17
1325
1325
// ./in.cue:338:17
1326
- // ./in.cue:339:17
1327
1326
// nestedList.v2e.y.0.0: 2 errors in empty disjunction:
1328
1327
// nestedList.v2e.y.0.0: conflicting values int and [2] (mismatched types int and list):
1329
- // ./in.cue:338 :18
1330
- // ./in.cue:339 :17
1328
+ // ./in.cue:337 :18
1329
+ // ./in.cue:338 :17
1331
1330
// nestedList.v2e.y.0.0: incompatible list lengths (1 and 2)
1332
1331
0: (#list){
1333
1332
0: (int){ 2 }
0 commit comments