@@ -166,14 +166,6 @@ MisalignedConjunct: 1
166
166
NumCloseIDs: 11
167
167
-- out/evalalpha --
168
168
Errors:
169
- issue4022.full.out.apiVersion: field not allowed:
170
- ./optionalerror.cue:24:3
171
- issue4022.full.out.metadata: field not allowed:
172
- ./optionalerror.cue:10:3
173
- ./optionalerror.cue:23:3
174
- issue4022.reduced.out.metadata: field not allowed:
175
- ./optionalerror.cue:2:18
176
- ./optionalerror.cue:6:7
177
169
issue516.x: 2 errors in empty disjunction:
178
170
issue516.x.match: field not allowed:
179
171
./in.cue:23:5
@@ -379,10 +371,8 @@ Result:
379
371
}
380
372
}) }
381
373
}
382
- issue4022: (_|_){
383
- // [eval]
384
- reduced: (_|_){
385
- // [eval]
374
+ issue4022: (struct){
375
+ reduced: (struct){
386
376
#NonNamespaced: (#struct){
387
377
metadata: (#struct){
388
378
namespace?: (_|_){
@@ -399,21 +389,16 @@ Result:
399
389
}
400
390
}
401
391
}) }
402
- out: (_|_){
403
- // [eval]
404
- metadata: (_|_){
405
- // [eval] issue4022.reduced.out.metadata: field not allowed:
406
- // ./optionalerror.cue:2:18
407
- // ./optionalerror.cue:6:7
392
+ out: (#struct){
393
+ metadata: (#struct){
408
394
namespace?: (_|_){
409
395
// [user] explicit error (_|_ literal) in source:
410
396
// ./optionalerror.cue:2:40
411
397
}
412
398
}
413
399
}
414
400
}
415
- full: (_|_){
416
- // [eval]
401
+ full: (struct){
417
402
#NonNamespaced: (#struct){
418
403
metadata: (#struct){
419
404
name!: (string){ string }
@@ -432,22 +417,15 @@ Result:
432
417
}
433
418
}
434
419
}) }
435
- out: (_|_){
436
- // [eval]
437
- metadata: (_|_){
438
- // [eval] issue4022.full.out.metadata: field not allowed:
439
- // ./optionalerror.cue:10:3
440
- // ./optionalerror.cue:23:3
420
+ out: (#struct){
421
+ metadata: (#struct){
441
422
name: (string){ "foo" }
442
423
namespace?: (_|_){
443
424
// [user] explicit error (_|_ literal) in source:
444
425
// ./optionalerror.cue:12:16
445
426
}
446
427
}
447
- apiVersion: (_|_){
448
- // [eval] issue4022.full.out.apiVersion: field not allowed:
449
- // ./optionalerror.cue:24:3
450
- }
428
+ apiVersion: (string){ "v1" }
451
429
}
452
430
}
453
431
}
@@ -456,16 +434,8 @@ Result:
456
434
diff old new
457
435
--- old
458
436
+++ new
459
- @@ -1,15 +1,18 @@
437
+ @@ -1,15 +1,10 @@
460
438
Errors:
461
- +issue4022.full.out.apiVersion: field not allowed:
462
- + ./optionalerror.cue:24:3
463
- +issue4022.full.out.metadata: field not allowed:
464
- + ./optionalerror.cue:10:3
465
- + ./optionalerror.cue:23:3
466
- +issue4022.reduced.out.metadata: field not allowed:
467
- + ./optionalerror.cue:2:18
468
- + ./optionalerror.cue:6:7
469
439
issue516.x: 2 errors in empty disjunction:
470
440
issue516.x.match: field not allowed:
471
441
- ./in.cue:20:6
@@ -480,7 +450,7 @@ diff old new
480
450
./in.cue:3:19
481
451
./in.cue:12:12
482
452
483
- @@ -19,17 +22 ,12 @@
453
+ @@ -19,17 +14 ,12 @@
484
454
issue570: (_|_){
485
455
// [eval]
486
456
results: (_|_){
@@ -499,7 +469,7 @@ diff old new
499
469
}
500
470
#Output: (#struct){ |((#struct){
501
471
result: (_){ _ }
502
- @@ -40,7 +38 ,9 @@
472
+ @@ -40,7 +30 ,9 @@
503
473
result: (list){
504
474
}
505
475
}, (#struct){
@@ -510,7 +480,7 @@ diff old new
510
480
}
511
481
error: (string){ string }
512
482
}) }
513
- @@ -59,18 +59 ,10 @@
483
+ @@ -59,18 +51 ,10 @@
514
484
x: (_|_){
515
485
// [eval] issue516.x: 2 errors in empty disjunction:
516
486
// issue516.x.match: field not allowed:
@@ -530,7 +500,7 @@ diff old new
530
500
metrics: (struct){
531
501
foo: (struct){
532
502
}
533
- @@ -136,13 +128 ,11 @@
503
+ @@ -136,13 +120 ,11 @@
534
504
reduced: (struct){
535
505
list: (_|_){
536
506
// [incomplete] issue3581.reduced.list: 2 errors in empty disjunction:
@@ -547,116 +517,46 @@ diff old new
547
517
}
548
518
c: (_){ _ }
549
519
}
550
- @@ -186,7 +176 ,6 @@
520
+ @@ -186,7 +168 ,6 @@
551
521
p1: (struct){ |((struct){
552
522
a?: (_|_){
553
523
// [eval] issue3599.reduced.p1.a: conflicting values 2 and 1:
554
524
- // ./issue3599.cue:32:2
555
525
// ./issue3599.cue:32:9
556
526
// ./issue3599.cue:32:11
557
527
}
558
- @@ -194,7 +183 ,6 @@
528
+ @@ -194,7 +175 ,6 @@
559
529
a: (string){ string }
560
530
b?: (_|_){
561
531
// [eval] issue3599.reduced.p1.b: conflicting values 2 and 1:
562
532
- // ./issue3599.cue:32:2
563
533
// ./issue3599.cue:32:35
564
534
// ./issue3599.cue:32:37
565
535
}
566
- @@ -202,7 +190 ,6 @@
536
+ @@ -202,7 +182 ,6 @@
567
537
p2: (struct){ |((struct){
568
538
a?: (_|_){
569
539
// [eval] issue3599.reduced.p2.a: conflicting values 2 and 1:
570
540
- // ./issue3599.cue:37:2
571
541
// ./issue3599.cue:37:9
572
542
// ./issue3599.cue:37:11
573
543
}
574
- @@ -210,7 +197 ,6 @@
544
+ @@ -210,7 +189 ,6 @@
575
545
a: (string){ string }
576
546
b?: (_|_){
577
547
// [eval] issue3599.reduced.p2.b: conflicting values 2 and 1:
578
548
- // ./issue3599.cue:37:2
579
549
// ./issue3599.cue:37:35
580
550
// ./issue3599.cue:37:37
581
551
}
582
- @@ -221,14 +207,15 @@
552
+ @@ -221,7 +199,6 @@
583
553
a: (int){ 1 }
584
554
let B#1 = (_|_){
585
555
// [eval] issue3599.let.B: conflicting values 2 and 1:
586
556
- // ./issue3599.cue:40:2
587
557
// ./issue3599.cue:40:29
588
558
// ./issue3599.cue:40:31
589
559
}
590
- }) }
591
- }
592
- - issue4022: (struct){
593
- - reduced: (struct){
594
- + issue4022: (_|_){
595
- + // [eval]
596
- + reduced: (_|_){
597
- + // [eval]
598
- #NonNamespaced: (#struct){
599
- metadata: (#struct){
600
- namespace?: (_|_){
601
- @@ -245,16 +232,21 @@
602
- }
603
- }
604
- }) }
605
- - out: (#struct){
606
- - metadata: (#struct){
607
- - namespace?: (_|_){
608
- - // [user] explicit error (_|_ literal) in source:
609
- - // ./optionalerror.cue:2:40
610
- - }
611
- - }
612
- - }
613
- - }
614
- - full: (struct){
615
- + out: (_|_){
616
- + // [eval]
617
- + metadata: (_|_){
618
- + // [eval] issue4022.reduced.out.metadata: field not allowed:
619
- + // ./optionalerror.cue:2:18
620
- + // ./optionalerror.cue:6:7
621
- + namespace?: (_|_){
622
- + // [user] explicit error (_|_ literal) in source:
623
- + // ./optionalerror.cue:2:40
624
- + }
625
- + }
626
- + }
627
- + }
628
- + full: (_|_){
629
- + // [eval]
630
- #NonNamespaced: (#struct){
631
- metadata: (#struct){
632
- name!: (string){ string }
633
- @@ -273,8 +265,12 @@
634
- }
635
- }
636
- }) }
637
- - out: (#struct){
638
- - metadata: (#struct){
639
- + out: (_|_){
640
- + // [eval]
641
- + metadata: (_|_){
642
- + // [eval] issue4022.full.out.metadata: field not allowed:
643
- + // ./optionalerror.cue:10:3
644
- + // ./optionalerror.cue:23:3
645
- name: (string){ "foo" }
646
- namespace?: (_|_){
647
- // [user] explicit error (_|_ literal) in source:
648
- @@ -281,7 +277,10 @@
649
- // ./optionalerror.cue:12:16
650
- }
651
- }
652
- - apiVersion: (string){ "v1" }
653
- + apiVersion: (_|_){
654
- + // [eval] issue4022.full.out.apiVersion: field not allowed:
655
- + // ./optionalerror.cue:24:3
656
- + }
657
- }
658
- }
659
- }
660
560
-- diff/todo/p3 --
661
561
Missing error positions.
662
562
-- diff/explanation --
0 commit comments