Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reported at https://caml.inria.fr/mantis/view.php?id=7820 Array.of_seq applies a circular permutation of one cell to the right on the sequence. With OCaml 4.07.0 and trunk, we have - : int array = [|3; 1; 2|] In stdlib/array.ml, line 337 (last line of of_rev_list), we have fill (len-1) tl whereas it should be fill (len-2) tl since hd, which should be assigned to the cell (len - 1), is skipped.
- Loading branch information
1 parent
2f3710e
commit b5ff016
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters