Skip to content

Commit 1b01d45

Browse files
committed
Make scala.caps.Pure non-experimental
1 parent 68a19fa commit 1b01d45

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

library/src/scala/caps/Pure.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
package scala
22
package caps
3-
import annotation.experimental
43

54
/** A marker trait that declares that all inheriting classes are "pure" in the
65
* sense that their values retain no capabilities including capabilities needed
76
* to perform effects. This has formal meaning only under capture checking.
87
*/
9-
@experimental trait Pure:
8+
trait Pure:
109
this: Pure =>

tests/run-tasty-inspector/stdlibExperimentalDefinitions.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ val experimentalDefinitionInLibrary = Set(
3030
"scala.annotation.retains",
3131
"scala.annotation.retainsByName",
3232
"scala.annotation.retainsCap",
33-
"scala.Pure",
3433
"scala.caps.CapSet",
3534
"scala.caps.Contains",
3635
"scala.caps.Contains$",

0 commit comments

Comments
 (0)