Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn about negative size in array construction (JuliaLang#56262)
After this, ```julia julia> zeros(-1) ERROR: ArgumentError: invalid GenericMemory size: the number of elements is either negative or too large for system address width [...] ``` The error message is updated to warn about possible negative sizes when creating arrays. Fixes JuliaLang#55446
- Loading branch information