File tree Expand file tree Collapse file tree 9 files changed +24
-8
lines changed
library/src/scala/compiletime Expand file tree Collapse file tree 9 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 50
50
- [ ] library/src/scala/annotation/unchecked/uncheckedCaptures.scala
51
51
- [ ] library/src/scala/annotation/unroll.scala
52
52
- [x] library/src/scala/caps/package.scala
53
- - [ ] library/src/scala/compiletime/ops/any.scala
54
- - [ ] library/src/scala/compiletime/ops/boolean.scala
55
- - [ ] library/src/scala/compiletime/ops/double.scala
56
- - [ ] library/src/scala/compiletime/ops/float.scala
57
- - [ ] library/src/scala/compiletime/ops/int.scala
58
- - [ ] library/src/scala/compiletime/ops/long.scala
59
- - [ ] library/src/scala/compiletime/ops/string.scala
60
- - [ ] library/src/scala/compiletime/package.scala
53
+ - [x ] library/src/scala/compiletime/ops/any.scala
54
+ - [x ] library/src/scala/compiletime/ops/boolean.scala
55
+ - [x ] library/src/scala/compiletime/ops/double.scala
56
+ - [x ] library/src/scala/compiletime/ops/float.scala
57
+ - [x ] library/src/scala/compiletime/ops/int.scala
58
+ - [x ] library/src/scala/compiletime/ops/long.scala
59
+ - [x ] library/src/scala/compiletime/ops/string.scala
60
+ - [x ] library/src/scala/compiletime/package.scala
61
61
- [x] library/src/scala/compiletime/testing/Error.scala
62
62
- [x] library/src/scala/compiletime/testing/ErrorKind.scala
63
63
- [x] library/src/scala/compiletime/testing/package.scala
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
+ import language .experimental .captureChecking
5
+
4
6
object any :
5
7
/** Equality comparison of two singleton types.
6
8
* ```scala
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
+ import language .experimental .captureChecking
5
+
4
6
object boolean :
5
7
6
8
/** Negation of a `Boolean` singleton type.
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
+ import language .experimental .captureChecking
5
+
4
6
object double :
5
7
/** Addition of two `Double` singleton types.
6
8
* ```scala
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
+ import language .experimental .captureChecking
5
+
4
6
object float :
5
7
/** Addition of two `Float` singleton types.
6
8
* ```scala
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
+ import language .experimental .captureChecking
5
+
4
6
object int :
5
7
/** Successor of a natural number where zero is the type 0 and successors are reduced as if the definition was:
6
8
*
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
+ import language .experimental .captureChecking
5
+
4
6
object long :
5
7
/** Successor of a natural number where zero is the type 0 and successors are reduced as if the definition was:
6
8
*
Original file line number Diff line number Diff line change 1
1
package scala .compiletime
2
2
package ops
3
3
4
+ import language .experimental .captureChecking
5
+
4
6
object string :
5
7
/** Concatenation of two `String` singleton types.
6
8
* ```scala
Original file line number Diff line number Diff line change 1
1
package scala
2
2
package compiletime
3
3
4
+ import language .experimental .captureChecking
5
+
4
6
import annotation .{compileTimeOnly , experimental }
5
7
6
8
/** Use this method when you have a type, do not have a value for it but want to
You can’t perform that action at this time.
0 commit comments