We want to introduce the Zero(Byte) constructor for replacing the Zero.Companion.fromByte(Byte)experimental function.
class Zero {
constructor(number: Byte)
}
✅ Checklist
[ ] ♻️ Convert the Zero() primary constructor to a secondary constructor.
[ ] ✨ Add the Zero(Byte) constructor with tests, documentation and samples, then update the unreleased changelog.
[ ] 🗑️ Deprecate the Zero.Companion.fromByte(Byte) function with an error level for using the Zero(Byte) constructor instead, then update the unreleased changelog.
[ ] 📝 Create an issue on GitHub for removing the Zero.Companion.fromByte(Byte) function in the next version.
📝 Description
We want to introduce the
Zero(Byte)
constructor for replacing theZero.Companion.fromByte(Byte)
experimental function.✅ Checklist
Zero()
primary constructor to a secondary constructor.Zero(Byte)
constructor with tests, documentation and samples, then update the unreleased changelog.Zero.Companion.fromByte(Byte)
function with an error level for using theZero(Byte)
constructor instead, then update the unreleased changelog.Zero.Companion.fromByte(Byte)
function in the next version.