@@ -223,8 +223,6 @@ Conjuncts: 327
223
223
Disjuncts: 202
224
224
-- out/evalalpha --
225
225
Errors:
226
- issue3639.a.b: field not allowed:
227
- ./validator_is_top.cue:3:5
228
226
callOfCallToValidator.e: cannot call previously called validator b:
229
227
./in.cue:94:5
230
228
issue3418.t1: invalid value "foo" (does not satisfy matchN): conflicting values 2 and 1:
@@ -270,12 +268,6 @@ issue3474.topValidator.failType.A: invalid value {C:1} (does not satisfy matchN)
270
268
./issue3474.cue:53:5
271
269
./issue3474.cue:53:12
272
270
./issue3474.cue:54:5
273
- issue3661.a.b: field not allowed:
274
- ./validator_is_top.cue:7:6
275
- ./validator_is_top.cue:8:5
276
- issue3678.y.c: field not allowed:
277
- ./validator_is_top.cue:13:6
278
- ./validator_is_top.cue:19:5
279
271
280
272
Result:
281
273
(_|_){
@@ -489,15 +481,9 @@ Result:
489
481
}
490
482
}
491
483
}
492
- issue3639: (_|_){
493
- // [eval]
494
- a: (_|_){
495
- // [eval] issue3639.a.b: field not allowed:
496
- // ./validator_is_top.cue:3:5
497
- b: (_|_){
498
- // [eval] issue3639.a.b: field not allowed:
499
- // ./validator_is_top.cue:3:5
500
- }
484
+ issue3639: (struct){
485
+ a: (#struct){
486
+ b: (int){ 1 }
501
487
}
502
488
#X: (_){ matchN(1, (#list){
503
489
0: (_|_){// &[{
@@ -506,27 +492,18 @@ Result:
506
492
}
507
493
}) }
508
494
}
509
- issue3661: (_|_){
510
- // [eval]
495
+ issue3661: (struct){
511
496
#X: (_){ matchN(1, (#list){
512
497
0: (_|_){// &[{
513
498
// b!: int
514
499
// }]
515
500
}
516
501
}) }
517
- a: (_|_){
518
- // [eval] issue3661.a.b: field not allowed:
519
- // ./validator_is_top.cue:7:6
520
- // ./validator_is_top.cue:8:5
521
- b: (_|_){
522
- // [eval] issue3661.a.b: field not allowed:
523
- // ./validator_is_top.cue:7:6
524
- // ./validator_is_top.cue:8:5
525
- }
502
+ a: (#struct){
503
+ b: (int){ 1 }
526
504
}
527
505
}
528
- issue3678: (_|_){
529
- // [eval]
506
+ issue3678: (struct){
530
507
#X: (_){ matchN(1, (#list){
531
508
0: (_|_){// &[{
532
509
// a!: string
@@ -540,30 +517,16 @@ Result:
540
517
x: (#struct){
541
518
c: (string){ "c" }
542
519
}
543
- y: (_|_){
544
- // [eval] issue3678.y.c: field not allowed:
545
- // ./validator_is_top.cue:13:6
546
- // ./validator_is_top.cue:19:5
547
- c: (_|_){
548
- // [eval] issue3678.y.c: field not allowed:
549
- // ./validator_is_top.cue:13:6
550
- // ./validator_is_top.cue:19:5
551
- }
520
+ y: (#struct){
521
+ c: (string){ "c" }
552
522
}
553
523
}
554
524
}
555
525
-- diff/-out/evalalpha<==>+out/eval --
556
526
diff old new
557
527
--- old
558
528
+++ new
559
- @@ -1,4 +1,6 @@
560
- Errors:
561
- +issue3639.a.b: field not allowed:
562
- + ./validator_is_top.cue:3:5
563
- callOfCallToValidator.e: cannot call previously called validator b:
564
- ./in.cue:94:5
565
- issue3418.t1: invalid value "foo" (does not satisfy matchN): conflicting values 2 and 1:
566
- @@ -27,7 +29,7 @@
529
+ @@ -27,7 +27,7 @@
567
530
./issue3418.cue:10:16
568
531
./issue3418.cue:10:18
569
532
./issue3418.cue:11:5
@@ -572,20 +535,7 @@ diff old new
572
535
./issue3474.cue:12:5
573
536
./issue3474.cue:12:22
574
537
./issue3474.cue:13:5
575
- @@ -44,6 +46,12 @@
576
- ./issue3474.cue:53:5
577
- ./issue3474.cue:53:12
578
- ./issue3474.cue:54:5
579
- +issue3661.a.b: field not allowed:
580
- + ./validator_is_top.cue:7:6
581
- + ./validator_is_top.cue:8:5
582
- +issue3678.y.c: field not allowed:
583
- + ./validator_is_top.cue:13:6
584
- + ./validator_is_top.cue:19:5
585
-
586
- Result:
587
- (_|_){
588
- @@ -134,11 +142,7 @@
538
+ @@ -134,11 +134,7 @@
589
539
0: (int){ 1 }
590
540
}
591
541
}
@@ -598,7 +548,7 @@ diff old new
598
548
_a: (_|_){
599
549
// [incomplete] issue2098.incomplete1._a: invalid value [] (does not satisfy list.MinItems(1)): len(list) < MinItems(1) (0 < 1):
600
550
// ./in.cue:112:6
601
- @@ -202,7 +206 ,7 @@
551
+ @@ -202,7 +198 ,7 @@
602
552
failAfter: (_|_){
603
553
// [eval]
604
554
A: (_|_){
@@ -607,7 +557,7 @@ diff old new
607
557
// ./issue3474.cue:12:5
608
558
// ./issue3474.cue:12:22
609
559
// ./issue3474.cue:13:5
610
- @@ -245,7 +249 ,7 @@
560
+ @@ -245,7 +241 ,7 @@
611
561
}
612
562
incomplete: (struct){
613
563
A: (int){ &(matchN(1, (#list){
@@ -616,72 +566,45 @@ diff old new
616
566
}
617
567
}), int) }
618
568
}
619
- @@ -261,44 +265,66 @@
620
- }
569
+ @@ -262,42 +258,42 @@
621
570
}
622
571
}
623
- - issue3639: (struct){
572
+ issue3639: (struct){
624
573
- a: (struct){
625
574
- b: (int){ 1 }
626
575
- }
627
576
- #X: (_){ matchN(1, (#list){
628
577
- 0: (_|_){// {
629
- + issue3639: (_|_){
630
- + // [eval]
631
- + a: (_|_){
632
- + // [eval] issue3639.a.b: field not allowed:
633
- + // ./validator_is_top.cue:3:5
634
- + b: (_|_){
635
- + // [eval] issue3639.a.b: field not allowed:
636
- + // ./validator_is_top.cue:3:5
637
- + }
578
+ + a: (#struct){
579
+ + b: (int){ 1 }
638
580
+ }
639
581
+ #X: (_){ matchN(1, (#list){
640
582
+ 0: (_|_){// &[{
641
583
// b: int
642
584
- // }
643
- - }
644
- - }) }
645
- - }
646
- - issue3661: (struct){
647
- - #X: (_){ matchN(1, (#list){
648
- - 0: (_|_){// {
649
585
+ // }]
650
- + }
651
- + }) }
652
- + }
653
- + issue3661: (_|_ ){
654
- + // [eval]
655
- + #X : (_){ matchN(1, (#list) {
586
+ }
587
+ }) }
588
+ }
589
+ issue3661: (struct ){
590
+ #X: (_){ matchN(1, (#list){
591
+ - 0 : (_|_){// {
656
592
+ 0: (_|_){// &[{
657
593
// b!: int
658
594
- // }
659
595
- }
660
596
- }) }
661
597
- a: (struct){
662
- - b: (int){ 1 }
663
- - }
664
- - }
665
- - issue3678: (struct){
666
- - #X: (_){ matchN(1, (#list){
667
- - 0: (_|_){// {
668
598
+ // }]
669
599
+ }
670
600
+ }) }
671
- + a: (_|_){
672
- + // [eval] issue3661.a.b: field not allowed:
673
- + // ./validator_is_top.cue:7:6
674
- + // ./validator_is_top.cue:8:5
675
- + b: (_|_){
676
- + // [eval] issue3661.a.b: field not allowed:
677
- + // ./validator_is_top.cue:7:6
678
- + // ./validator_is_top.cue:8:5
679
- + }
680
- + }
681
- + }
682
- + issue3678: (_|_){
683
- + // [eval]
684
- + #X: (_){ matchN(1, (#list){
601
+ + a: (#struct){
602
+ b: (int){ 1 }
603
+ }
604
+ }
605
+ issue3678: (struct){
606
+ #X: (_){ matchN(1, (#list){
607
+ - 0: (_|_){// {
685
608
+ 0: (_|_){// &[{
686
609
// a!: string
687
610
- // }
@@ -698,25 +621,16 @@ diff old new
698
621
- c: (string){ "c" }
699
622
- }
700
623
- y: (struct){
701
- - c: (string){ "c" }
702
624
+ // }]
703
625
+ }
704
626
+ }) }
705
627
+ x: (#struct){
706
628
+ c: (string){ "c" }
707
629
+ }
708
- + y: (_|_){
709
- + // [eval] issue3678.y.c: field not allowed:
710
- + // ./validator_is_top.cue:13:6
711
- + // ./validator_is_top.cue:19:5
712
- + c: (_|_){
713
- + // [eval] issue3678.y.c: field not allowed:
714
- + // ./validator_is_top.cue:13:6
715
- + // ./validator_is_top.cue:19:5
716
- + }
630
+ + y: (#struct){
631
+ c: (string){ "c" }
717
632
}
718
633
}
719
- }
720
634
-- out/eval --
721
635
Errors:
722
636
callOfCallToValidator.e: cannot call previously called validator b:
0 commit comments