We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
int.ToString
1 parent 6792387 commit 32043aaCopy full SHA for 32043aa
library/src/scala/compiletime/ops/int.scala
@@ -183,7 +183,7 @@ object int:
183
* ```
184
* @syntax markdown
185
*/
186
- @deprecated("Use compiletime.ops.any.ToString instead.","3.1.0")
+ @deprecated("Use compiletime.ops.any.ToString instead.","3.2.0")
187
type ToString[X <: Int] <: String
188
189
/** Long conversion of an `Int` singleton type.
tests/neg/singleton-ops-int.scala
@@ -71,8 +71,8 @@ object Test {
71
val t46: Min[2, 2] = 1 // error
72
val t47: Min[-1, -1] = 0 // error
73
74
- val t48: ToString[213] = "213" // warning (deprecation)
75
- val t49: ToString[-1] = "-1" // warning (deprecation)
+ val t48: ToString[213] = "213"
+ val t49: ToString[-1] = "-1"
76
77
val t52: 1 ^ 2 = 3
78
val t53: 1 ^ 3 = 3 // error
0 commit comments