Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ra_machine: Make the
version/0
callback return a version()
type
[Why] 0 is a valid machine version. It is the default one when the callback is undefined. However, the callback spec states that a `pos_integer()` should be returned which forbids a version of 0. [How] Simply change the callback return value to `version()`. This makes 0 a valid return value and reuses the existing type already used elsewhere.
- Loading branch information