Skip to content

Commit dc08b6b

Browse files
authored
chore: make scala.caps.Pure transparent (#23914)
It makes more sense to have `scala.caps.Pure` a `transparent` trait. For the same reason `scala.Matchable` is `transparent` or `scala.Product` too.
2 parents cacd117 + e20eced commit dc08b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/caps/Pure.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ import language.experimental.captureChecking
1616
* would give an error only under capture checking. Pure is also dropped in
1717
* upper bounds if it forms part of an &-type, or is under a type lambda.
1818
*/
19-
trait Pure extends Any:
19+
transparent trait Pure extends Any:
2020
this: Pure =>

0 commit comments

Comments
 (0)