Skip to content
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

Conversions alignement for integers #12

Closed
3 tasks done
LVMVRQUXL opened this issue Dec 27, 2022 · 1 comment
Closed
3 tasks done

Conversions alignement for integers #12

LVMVRQUXL opened this issue Dec 27, 2022 · 1 comment
Assignees
Labels
common Item related to all platforms. feature New feature or request.

Comments

@LVMVRQUXL
Copy link
Contributor

LVMVRQUXL commented Dec 27, 2022

Description

Convert the builder of integers to a property, and rename their value property to asInt.
Here's an example for the NonZeroInt type:

// Before
val NonZeroInt.value: Int get() = TODO()
fun Int.toNonZeroInt(): Result<NonZeroInt> = TODO()

// After
val Int.asNonZeroInt: Result<NonZeroInt> get() = TODO()
val NonZeroInt.asInt: Int get() = TODO()

Checklist

  • Implement.
  • Test.
  • Refactor.
@LVMVRQUXL LVMVRQUXL added feature New feature or request. common Item related to all platforms. labels Dec 27, 2022
@LVMVRQUXL LVMVRQUXL added this to the 4.0.0 milestone Dec 27, 2022
@LVMVRQUXL LVMVRQUXL changed the title Conversions alignement for NonZeroInt Conversions alignement for integers Dec 27, 2022
@LVMVRQUXL LVMVRQUXL self-assigned this Dec 28, 2022
LVMVRQUXL added a commit that referenced this issue Dec 28, 2022
LVMVRQUXL added a commit that referenced this issue Dec 28, 2022
LVMVRQUXL added a commit that referenced this issue Dec 28, 2022
LVMVRQUXL added a commit that referenced this issue Dec 28, 2022
@LVMVRQUXL
Copy link
Contributor Author

Changes introduced by this issue were reversed.

LVMVRQUXL added a commit that referenced this issue Jan 13, 2023
LVMVRQUXL added a commit that referenced this issue Jan 13, 2023
LVMVRQUXL added a commit that referenced this issue Jan 13, 2023
LVMVRQUXL added a commit that referenced this issue Jan 13, 2023
@LVMVRQUXL LVMVRQUXL closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2024
@LVMVRQUXL LVMVRQUXL removed the wontfix label Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Item related to all platforms. feature New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant