summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/Predef.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library/scala/Predef.scala b/src/library/scala/Predef.scala
index f1bff1f990..437be17a5d 100644
--- a/src/library/scala/Predef.scala
+++ b/src/library/scala/Predef.scala
@@ -114,6 +114,8 @@ object Predef {
// tupling ------------------------------------------------------------
+ def uncheckedStable[A](x: A): A with $Stable$ = x.asInstanceOf[A with $Stable$]
+
type Pair[+A, +B] = Tuple2[A, B]
object Pair {
def apply[A, B](x: A, y: B) = Tuple2(x, y)