summaryrefslogtreecommitdiff
path: root/sources/scala/Predef.scala
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scala/Predef.scala')
-rw-r--r--sources/scala/Predef.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scala/Predef.scala b/sources/scala/Predef.scala
index aa05688fc9..bde0ab3b05 100644
--- a/sources/scala/Predef.scala
+++ b/sources/scala/Predef.scala
@@ -38,10 +38,10 @@ package scala {
}
}
- type Pair[a, b] = Tuple2[a, b];
+ type Pair = Tuple2;
def Pair[a, b](x: a, y: b) = Tuple2(x, y);
- type Triple[a, b, c] = Tuple3[a, b, c];
+ type Triple = Tuple3;
def Triple[a, b, c](x: a, y: b, z: c) = Tuple3(x, y, z);
}
}