Skip to content

Restore previous value of Decimal.leastFiniteMagnitude for compatibility and deprecate #3071

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

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

xwu
Copy link
Contributor

@xwu xwu commented Aug 30, 2021

See discussion in #3067.

@xwu
Copy link
Contributor Author

xwu commented Aug 30, 2021

@swift-ci test

Copy link
Contributor

@spevans spevans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with reverting to the previous value but the deprecation would require more discussion so that should be removed for now (although the clarifying message is actually really useful).

@stephentyrone
Copy link
Contributor

stephentyrone commented Aug 31, 2021

@spevans Let's start that discussion then, since the property is both useless and misleading and should definitely be deprecated. Plus it has a trivial replacement, so there's minimal burden to users to update.

@spevans
Copy link
Contributor

spevans commented Aug 31, 2021

Sorry, I meant it would be up to the Foundation team to decide on the API change, so just removing the deprecation change would allow the PR to go through whilst they come to a decision. Personally I think its a reasonable change.

cc @millenomi

@millenomi
Copy link
Contributor

I'm okay with the deprecation. @phausler, any objections?

@phausler
Copy link
Contributor

phausler commented Sep 1, 2021

nah, this is fine to deprecate

@xwu xwu merged commit d29bc22 into swiftlang:main Sep 1, 2021
@xwu xwu deleted the decimal-floatingpoint branch September 1, 2021 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants