@@ -481,16 +481,10 @@ Lines 4-11, characters 2-24:
481
481
11 | b2 = (cons_r 2 ; {v})}
482
482
Error : Non - value detected in [value_kind].
483
483
Please report this error to the Jane Street compilers team.
484
- <<<<<<< HEAD
485
- void_rec has layout void, which is not a sublayout of value.
486
- ||||||| parent of c77b6af8 (Enable layout histories (#1823 ))
487
- t_void has layout void, which is not a sublayout of value.
488
- =======
489
- The layout of t_void is void, because
484
+ The layout of void_rec is void, because
490
485
of the definition of t_void at line 1 , characters 0 -18.
491
- But the layout of t_void must be a sublayout of value, because
486
+ But the layout of void_rec must be a sublayout of value, because
492
487
it has to be value for the V1 safety check.
493
- >>>>>>> c77b6af8 (Enable layout histories (#1823 ))
494
488
| }]
495
489
(* CR layouts v5: This was the expected behavior before removing the handling of
496
490
void for lambda, and we expected it to be the expected behavior again after
@@ -516,16 +510,10 @@ Lines 2-3, characters 2-32:
516
510
3 | (x, V b2.v, V b1.v, z, V a1.v)
517
511
Error : Non - value detected in [value_kind].
518
512
Please report this error to the Jane Street compilers team.
519
- <<<<<<< HEAD
520
- t_void has layout void, which is not a sublayout of value.
521
- ||||||| parent of c77b6af8 (Enable layout histories (#1823 ))
522
- void_rec has layout void, which is not a sublayout of value.
523
- =======
524
- The layout of void_rec is void, because
513
+ The layout of t_void is void, because
525
514
of the definition of t_void at line 1 , characters 0 -18.
526
- But the layout of void_rec must be a sublayout of value, because
515
+ But the layout of t_void must be a sublayout of value, because
527
516
it has to be value for the V1 safety check.
528
- >>>>>>> c77b6af8 (Enable layout histories (#1823 ))
529
517
| }]
530
518
(* CR layouts v5: This was the expected behavior before removing the handling of
531
519
void for lambda, and we expected it to be the expected behavior again after
@@ -621,47 +609,12 @@ let [@warning "-10"] exnmatch1 (V v) =
621
609
622
610
let _ = assert ((exnmatch1 vh) = 1 );;
623
611
[%% expect{|
624
- <<<<<<< HEAD
625
612
Lines 3-5 , characters 4-46 :
626
613
3 | ....{v = (if true then raise (Ex1 42 ); v)};
627
614
4 | if true then raise (Ex2 " test" );
628
615
5 | {v = ((if true then raise (Ex3 true )); v)}
629
616
Error : Non - value layout void detected in [Typeopt. layout] as sort for type
630
617
void_rec. Please report this error to the Jane Street compilers team.
631
- ||||||| parent of c77b6af8 (Enable layout histories (#1823 ))
632
- Lines 1-13 , characters 31-24 :
633
- 1 | ...............................(V v) =
634
- 2 | match
635
- 3 | {v = (if true then raise (Ex1 42 ); v)};
636
- 4 | if true then raise (Ex2 " test" );
637
- 5 | {v = ((if true then raise (Ex3 true )); v)}
638
- ...
639
- 10 | | exception Ex2 "test" -> 3
640
- 11 | | exception Ex2 _ -> 4
641
- 12 | | exception Ex3 true -> 5
642
- 13 | | exception Ex3 _ -> 6
643
- Error : Non - value detected in [value_kind].
644
- Please report this error to the Jane Street compilers team.
645
- t_void has layout void, which is not a sublayout of value.
646
- =======
647
- Lines 1-13 , characters 31-24 :
648
- 1 | ...............................(V v) =
649
- 2 | match
650
- 3 | {v = (if true then raise (Ex1 42 ); v)};
651
- 4 | if true then raise (Ex2 " test" );
652
- 5 | {v = ((if true then raise (Ex3 true )); v)}
653
- ...
654
- 10 | | exception Ex2 "test" -> 3
655
- 11 | | exception Ex2 _ -> 4
656
- 12 | | exception Ex3 true -> 5
657
- 13 | | exception Ex3 _ -> 6
658
- Error : Non - value detected in [value_kind].
659
- Please report this error to the Jane Street compilers team.
660
- The layout of t_void is void, because
661
- of the definition of t_void at line 1 , characters 0 -18.
662
- But the layout of t_void must be a sublayout of value, because
663
- it has to be value for the V1 safety check.
664
- >>>>>>> c77b6af8 (Enable layout histories (#1823 ))
665
618
| }]
666
619
(* CR layouts v5: This was the expected behavior before removing the handling of
667
620
void for lambda, and we expected it to be the expected behavior again after
@@ -687,47 +640,12 @@ let [@warning "-10"] exnmatch2 (V v) =
687
640
688
641
let _ = assert ((exnmatch2 vh) = 3 );;
689
642
[%% expect{|
690
- <<<<<<< HEAD
691
643
Lines 3-5 , characters 4-46 :
692
644
3 | ....{v = v};
693
645
4 | if true then raise (Ex2 " test" );
694
646
5 | {v = ((if true then raise (Ex3 true )); v)}
695
647
Error : Non - value layout void detected in [Typeopt. layout] as sort for type
696
648
void_rec. Please report this error to the Jane Street compilers team.
697
- ||||||| parent of c77b6af8 (Enable layout histories (#1823 ))
698
- Lines 1-13 , characters 31-24 :
699
- 1 | ...............................(V v) =
700
- 2 | match
701
- 3 | {v = v};
702
- 4 | if true then raise (Ex2 " test" );
703
- 5 | {v = ((if true then raise (Ex3 true )); v)}
704
- ...
705
- 10 | | exception Ex2 "test" -> 3
706
- 11 | | exception Ex2 _ -> 4
707
- 12 | | exception Ex3 true -> 5
708
- 13 | | exception Ex3 _ -> 6
709
- Error : Non - value detected in [value_kind].
710
- Please report this error to the Jane Street compilers team.
711
- t_void has layout void, which is not a sublayout of value.
712
- =======
713
- Lines 1-13 , characters 31-24 :
714
- 1 | ...............................(V v) =
715
- 2 | match
716
- 3 | {v = v};
717
- 4 | if true then raise (Ex2 " test" );
718
- 5 | {v = ((if true then raise (Ex3 true )); v)}
719
- ...
720
- 10 | | exception Ex2 "test" -> 3
721
- 11 | | exception Ex2 _ -> 4
722
- 12 | | exception Ex3 true -> 5
723
- 13 | | exception Ex3 _ -> 6
724
- Error : Non - value detected in [value_kind].
725
- Please report this error to the Jane Street compilers team.
726
- The layout of t_void is void, because
727
- of the definition of t_void at line 1 , characters 0 -18.
728
- But the layout of t_void must be a sublayout of value, because
729
- it has to be value for the V1 safety check.
730
- >>>>>>> c77b6af8 (Enable layout histories (#1823 ))
731
649
| }]
732
650
(* CR layouts v5: This was the expected behavior before removing the handling of
733
651
void for lambda, and we expected it to be the expected behavior again after
@@ -752,46 +670,11 @@ let [@warning "-10"] exnmatch3 (V v) =
752
670
753
671
let _ = assert ((exnmatch3 vh) = 5 );;
754
672
[%% expect{|
755
- <<<<<<< HEAD
756
673
Lines 3-4 , characters 4-46 :
757
674
3 | ....{v = v};
758
675
4 | {v = ((if true then raise (Ex3 true )); v)}
759
676
Error : Non - value layout void detected in [Typeopt. layout] as sort for type
760
677
void_rec. Please report this error to the Jane Street compilers team.
761
- ||||||| parent of c77b6af8 (Enable layout histories (#1823 ))
762
- Lines 1-12 , characters 31-24 :
763
- 1 | ...............................(V v) =
764
- 2 | match
765
- 3 | {v = v};
766
- 4 | {v = ((if true then raise (Ex3 true )); v)}
767
- 5 | with
768
- ...
769
- 9 | | exception Ex2 "test" -> 3
770
- 10 | | exception Ex2 _ -> 4
771
- 11 | | exception Ex3 true -> 5
772
- 12 | | exception Ex3 _ -> 6
773
- Error : Non - value detected in [value_kind].
774
- Please report this error to the Jane Street compilers team.
775
- t_void has layout void, which is not a sublayout of value.
776
- =======
777
- Lines 1-12 , characters 31-24 :
778
- 1 | ...............................(V v) =
779
- 2 | match
780
- 3 | {v = v};
781
- 4 | {v = ((if true then raise (Ex3 true )); v)}
782
- 5 | with
783
- ...
784
- 9 | | exception Ex2 "test" -> 3
785
- 10 | | exception Ex2 _ -> 4
786
- 11 | | exception Ex3 true -> 5
787
- 12 | | exception Ex3 _ -> 6
788
- Error : Non - value detected in [value_kind].
789
- Please report this error to the Jane Street compilers team.
790
- The layout of t_void is void, because
791
- of the definition of t_void at line 1 , characters 0 -18.
792
- But the layout of t_void must be a sublayout of value, because
793
- it has to be value for the V1 safety check.
794
- >>>>>>> c77b6af8 (Enable layout histories (#1823 ))
795
678
| }]
796
679
(* CR layouts v5: This was the expected behavior before removing the handling of
797
680
void for lambda, and we expected it to be the expected behavior again after
@@ -816,46 +699,11 @@ let [@warning "-10"] exnmatch4 (V v) =
816
699
817
700
let _ = assert ((exnmatch4 vh) = 0 );;
818
701
[%% expect{|
819
- <<<<<<< HEAD
820
702
Lines 3-4 , characters 4-11 :
821
703
3 | ....{v = v};
822
704
4 | {v = v}
823
705
Error : Non - value layout void detected in [Typeopt. layout] as sort for type
824
706
void_rec. Please report this error to the Jane Street compilers team.
825
- ||||||| parent of c77b6af8 (Enable layout histories (#1823 ))
826
- Lines 1-12 , characters 31-24 :
827
- 1 | ...............................(V v) =
828
- 2 | match
829
- 3 | {v = v};
830
- 4 | {v = v}
831
- 5 | with
832
- ...
833
- 9 | | exception Ex2 "test" -> 3
834
- 10 | | exception Ex2 _ -> 4
835
- 11 | | exception Ex3 true -> 5
836
- 12 | | exception Ex3 _ -> 6
837
- Error : Non - value detected in [value_kind].
838
- Please report this error to the Jane Street compilers team.
839
- t_void has layout void, which is not a sublayout of value.
840
- =======
841
- Lines 1-12 , characters 31-24 :
842
- 1 | ...............................(V v) =
843
- 2 | match
844
- 3 | {v = v};
845
- 4 | {v = v}
846
- 5 | with
847
- ...
848
- 9 | | exception Ex2 "test" -> 3
849
- 10 | | exception Ex2 _ -> 4
850
- 11 | | exception Ex3 true -> 5
851
- 12 | | exception Ex3 _ -> 6
852
- Error : Non - value detected in [value_kind].
853
- Please report this error to the Jane Street compilers team.
854
- The layout of t_void is void, because
855
- of the definition of t_void at line 1 , characters 0 -18.
856
- But the layout of t_void must be a sublayout of value, because
857
- it has to be value for the V1 safety check.
858
- >>>>>>> c77b6af8 (Enable layout histories (#1823 ))
859
707
| }]
860
708
(* CR layouts v5: This was the expected behavior before removing the handling of
861
709
void for lambda, and we expected it to be the expected behavior again after
@@ -934,17 +782,10 @@ Lines 9-18, characters 2-29:
934
782
18 | cons_r uivrh.uivrh_x; uivrh
935
783
Error : Non - value detected in [value_kind].
936
784
Please report this error to the Jane Street compilers team.
937
- <<<<<<< HEAD
938
- unboxed_inlined_void_rec has layout void,
939
- which is not a sublayout of value.
940
- ||||||| parent of c77b6af8 (Enable layout histories (#1823 ))
941
- t_void has layout void, which is not a sublayout of value.
942
- =======
943
- The layout of t_void is void, because
785
+ The layout of unboxed_inlined_void_rec is void, because
944
786
of the definition of t_void at line 1 , characters 0 -18.
945
- But the layout of t_void must be a sublayout of value, because
787
+ But the layout of unboxed_inlined_void_rec must be a sublayout of value, because
946
788
it has to be value for the V1 safety check.
947
- >>>>>>> c77b6af8 (Enable layout histories (#1823 ))
948
789
| }]
949
790
(* CR layouts v5: This was the expected behavior before removing the handling of
950
791
void for lambda, and we expected it to be the expected behavior again after
0 commit comments