Skip to content

Remove deprecation of compiletime.ops.int.ToString #14217

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
Jan 5, 2022

Conversation

soronpo
Copy link
Contributor

@soronpo soronpo commented Jan 5, 2022

In #13400 I introduced a deprecation to compiletime.ops.int.ToString, mistakenly thinking that deprecation compares the version and I can set a future deprecation for 3.2.0.
This PR removes the deprecation which will be reintroduced in 3.2.0 once we remove experimental from compiletime.ops.any.ToString that comes in its stead.

@soronpo soronpo requested a review from smarter January 5, 2022 15:35
Copy link
Member

@smarter smarter left a comment

Choose a reason for hiding this comment

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

There's a stray merge commit in this PR, can you remove it?

@@ -183,7 +183,7 @@ object int:
* ```
* @syntax markdown
*/
@deprecated("Use compiletime.ops.any.ToString instead.","3.2.0")
// @deprecated("Use compiletime.ops.any.ToString instead.","3.2.0") //uncomment when reaching 3.2.0
Copy link
Member

Choose a reason for hiding this comment

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

The comment should be indented as much as the next line.

@som-snytt
Copy link
Contributor

It's too bad since does not have useful semantics. It's informational only, in case anyone looks at deprecation warnings. When it was added, it was supposed to have a format "MyLib 1.0".

@smarter smarter enabled auto-merge January 5, 2022 16:26
@smarter smarter merged commit b4d0334 into scala:master Jan 5, 2022
@Kordyjan Kordyjan added this to the 3.1.2 milestone Aug 2, 2023
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.

4 participants