-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New type converters suffixed by OrNull
and OrThrow
for NonZeroInt
#173
Milestone
Comments
LVMVRQUXL
added
feature
New feature or request.
common
Item related to all platforms.
labels
Aug 20, 2023
LVMVRQUXL
added
the
good first issue
Issues having enough details for new contributors to work on.
label
Aug 20, 2023
LVMVRQUXL
added
good first issue
Issues having enough details for new contributors to work on.
and removed
good first issue
Issues having enough details for new contributors to work on.
labels
Sep 1, 2023
LVMVRQUXL
removed
the
good first issue
Issues having enough details for new contributors to work on.
label
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
New builders: 'toNonZeroIntOrNull' and 'toNonZeroIntOrThrow'. These are not implemented yet.
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
Done. |
LVMVRQUXL
changed the title
New builders suffixed by
New type converters suffixed by Oct 22, 2023
OrNull
and OrThrow
for NonZeroInt
OrNull
and OrThrow
for NonZeroInt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Like discussed in #104, we would like to introduce experimental builders for the
NonZeroInt
type that should:null
in case of a failure if the builder is suffixed byOrNull
IllegalArgumentException
in case of a failure if the builder is suffixed byOrThrow
.These builders should work on all platforms and should be declared in the
NonZeroInt.kt
file after thetoNonZeroInt
function.Their tests should be declared in the
NonZeroIntTest
class after thenumber_toNonZeroInt_should_fail_with_an_Int_that_equals_zero
function.Checklist
NonZeroInt.kt
file.Function signatures
Unreleased
section in the CHANGELOG, replacing theYourGitHubProfile
placeholder by your GitHub profile (see an example here).Entry in changelog
git commit -a
command in your terminal with the message below.Commit message
toNonZeroIntOrNull
function by resolving the following tasks:git commit -a
command in your terminal with the message below.Commit message
toNonZeroIntOrThrow
function by resolving the following tasks:git commit -a
command in your terminal with the message below.Commit message
Maintainers only
The text was updated successfully, but these errors were encountered: