Skip to content

Commit 62cf1c6

Browse files
Add deprecation, remove experimental annotations
1 parent 092118d commit 62cf1c6

File tree

6 files changed

+0
-25
lines changed

6 files changed

+0
-25
lines changed

library/src/scala/compiletime/ops/any.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package scala.compiletime
22
package ops
33

4-
import annotation.experimental
5-
64
object any:
75
/** Equality comparison of two singleton types.
86
* ```scala
@@ -41,7 +39,6 @@ object any:
4139
* ```
4240
* @syntax markdown
4341
*/
44-
@experimental
4542
type IsConst[X] <: Boolean
4643

4744
/** String conversion of a constant singleton type.
@@ -51,5 +48,4 @@ object any:
5148
* ```
5249
* @syntax markdown
5350
*/
54-
@experimental
5551
type ToString[+X] <: String

library/src/scala/compiletime/ops/double.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package scala.compiletime
22
package ops
33

4-
import scala.annotation.experimental
5-
6-
@experimental
74
object double:
85
/** Addition of two `Double` singleton types.
96
* ```scala

library/src/scala/compiletime/ops/float.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package scala.compiletime
22
package ops
33

4-
import scala.annotation.experimental
5-
6-
@experimental
74
object float:
85
/** Addition of two `Float` singleton types.
96
* ```scala

library/src/scala/compiletime/ops/int.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package scala.compiletime
22
package ops
33

4-
import annotation.experimental
5-
64
object int:
75
/** Successor of a natural number where zero is the type 0 and successors are reduced as if the definition was:
86
*
@@ -192,7 +190,6 @@ object int:
192190
* ```
193191
* @syntax markdown
194192
*/
195-
@experimental
196193
type ToLong[+X <: Int] <: Long
197194

198195
/** Float conversion of an `Int` singleton type.
@@ -201,7 +198,6 @@ object int:
201198
* ```
202199
* @syntax markdown
203200
*/
204-
@experimental
205201
type ToFloat[+X <: Int] <: Float
206202

207203
/** Double conversion of an `Int` singleton type.
@@ -210,7 +206,6 @@ object int:
210206
* ```
211207
* @syntax markdown
212208
*/
213-
@experimental
214209
type ToDouble[+X <: Int] <: Double
215210

216211
/** Number of zero bits preceding the highest-order ("leftmost")
@@ -225,5 +220,4 @@ object int:
225220
* ```
226221
* @syntax markdown
227222
*/
228-
@experimental
229223
type NumberOfLeadingZeros[+X <: Int] <: Int

library/src/scala/compiletime/ops/long.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
package scala.compiletime
22
package ops
33

4-
import scala.annotation.experimental
5-
6-
@experimental
74
object long:
85
/** Successor of a natural number where zero is the type 0 and successors are reduced as if the definition was:
96
*

library/src/scala/compiletime/ops/string.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package scala.compiletime
22
package ops
33

4-
import scala.annotation.experimental
5-
64
object string:
75
/** Concatenation of two `String` singleton types.
86
* ```scala
@@ -18,7 +16,6 @@ object string:
1816
* ```
1917
* @syntax markdown
2018
*/
21-
@experimental
2219
type Length[+X <: String] <: Int
2320

2421
/** Substring of a `String` singleton type, with a singleton type
@@ -31,7 +28,6 @@ object string:
3128
* ```
3229
* @syntax markdown
3330
*/
34-
@experimental
3531
type Substring[+S <: String, +IBeg <: Int, +IEnd <: Int] <: String
3632

3733
/** Tests if this `String` singleton type matches the given
@@ -41,7 +37,6 @@ object string:
4137
* ```
4238
* @syntax markdown
4339
*/
44-
@experimental
4540
type Matches[+S <: String, +Regex <: String] <: Boolean
4641

4742
/** Returns the Char type at the specified index.
@@ -52,5 +47,4 @@ object string:
5247
* ```
5348
* @syntax markdown
5449
*/
55-
@experimental
5650
type CharAt[+S <: String, +Idx <: Int] <: Char

0 commit comments

Comments
 (0)