Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Array.init raises the wrong exception for invalid argument #4950
Original bug ID: 4950
Array.make (-1) 0;;
Array.init (-1) (fun _ -> 0);;
it would be great for debugging purposes to see an "Array.init" in the second exception.