Skip to content

Commit

Permalink
Update annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierBlanvillain committed May 16, 2022
1 parent 96d5315 commit dd0bab0
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 25 deletions.
4 changes: 0 additions & 4 deletions library/src/scala/compiletime/ops/any.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package scala.compiletime
package ops

import annotation.experimental

object any:
/** Equality comparison of two singleton types.
* ```scala
Expand Down Expand Up @@ -41,7 +39,6 @@ object any:
* ```
* @syntax markdown
*/
@experimental
type IsConst[X] <: Boolean

/** String conversion of a constant singleton type.
Expand All @@ -51,5 +48,4 @@ object any:
* ```
* @syntax markdown
*/
@experimental
type ToString[+X] <: String
3 changes: 0 additions & 3 deletions library/src/scala/compiletime/ops/double.scala
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package scala.compiletime
package ops

import scala.annotation.experimental

@experimental
object double:
/** Addition of two `Double` singleton types.
* ```scala
Expand Down
3 changes: 0 additions & 3 deletions library/src/scala/compiletime/ops/float.scala
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package scala.compiletime
package ops

import scala.annotation.experimental

@experimental
object float:
/** Addition of two `Float` singleton types.
* ```scala
Expand Down
6 changes: 0 additions & 6 deletions library/src/scala/compiletime/ops/int.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package scala.compiletime
package ops

import annotation.experimental

object int:
/** Successor of a natural number where zero is the type 0 and successors are reduced as if the definition was:
*
Expand Down Expand Up @@ -192,7 +190,6 @@ object int:
* ```
* @syntax markdown
*/
@experimental
type ToLong[+X <: Int] <: Long

/** Float conversion of an `Int` singleton type.
Expand All @@ -201,7 +198,6 @@ object int:
* ```
* @syntax markdown
*/
@experimental
type ToFloat[+X <: Int] <: Float

/** Double conversion of an `Int` singleton type.
Expand All @@ -210,7 +206,6 @@ object int:
* ```
* @syntax markdown
*/
@experimental
type ToDouble[+X <: Int] <: Double

/** Number of zero bits preceding the highest-order ("leftmost")
Expand All @@ -225,5 +220,4 @@ object int:
* ```
* @syntax markdown
*/
@experimental
type NumberOfLeadingZeros[+X <: Int] <: Int
3 changes: 0 additions & 3 deletions library/src/scala/compiletime/ops/long.scala
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package scala.compiletime
package ops

import scala.annotation.experimental

@experimental
object long:
/** Successor of a natural number where zero is the type 0 and successors are reduced as if the definition was:
*
Expand Down
6 changes: 0 additions & 6 deletions library/src/scala/compiletime/ops/string.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package scala.compiletime
package ops

import scala.annotation.experimental

object string:
/** Concatenation of two `String` singleton types.
* ```scala
Expand All @@ -18,7 +16,6 @@ object string:
* ```
* @syntax markdown
*/
@experimental
type Length[+X <: String] <: Int

/** Substring of a `String` singleton type, with a singleton type
Expand All @@ -31,7 +28,6 @@ object string:
* ```
* @syntax markdown
*/
@experimental
type Substring[+S <: String, +IBeg <: Int, +IEnd <: Int] <: String

/** Tests if this `String` singleton type matches the given
Expand All @@ -41,7 +37,6 @@ object string:
* ```
* @syntax markdown
*/
@experimental
type Matches[+S <: String, +Regex <: String] <: Boolean

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

0 comments on commit dd0bab0

Please sign in to comment.