These lines are unreachable, all paths above them lead to earlier
returns.
Signed-off-by: Stephen Kitt <steve@sk2.org>
Co-authored-by: John Kerl <kerl.john.r@gmail.com>
Miller assumes 64-bit integers, but in Go, the int type varies in size
depending on the architecture: 32-bit architectures have int
equivalent to int32. As a result, the supported range of integer
values is greatly reduced on 32-bit architectures compared to what is
suggested by the documentation.
This patch explicitly uses int64 wherever 64-bit integers are
assumed.
Test cases affected by the behaviour of the random generator are
updated to reflect the new values (the existing seed doesn't produce
the same behaviour since the way random values are generated has
changed).
Signed-off-by: Stephen Kitt <steve@sk2.org>
* todo
* Neaten existing DSL sketch
* rebase on #893, and sketch
* code-complete
* build artifacts for previous commit
* replace - with _ in shift and slwin
* Update .goreleaser.yml
Reorg and changes.
- Move release section to the top
- Switch to using dashes instead of underscores for naming and filenames
- Set gomod proxy to true for reproducible builds
- Add archives section to use zip for Windows builds, name Mac builds as macos instead of darwin and also have a top level directory for tar.gz
- Add the ability to build .deb and .rpm as part of the release process
* Update .goreleaser.yml
Disable gomod for goreleaser for now.