summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Zenger <mzenger@gmail.com>2003-02-20 11:39:28 +0000
committerMatthias Zenger <mzenger@gmail.com>2003-02-20 11:39:28 +0000
commit77ef6d42792bfdb5bf3fcb8232a47f7affe61a56 (patch)
treee3df8c17a07b04fab827dbc71996e0fc5bd30014
parentde0a87e4a03bdd902391c847a956cdc8558a73ec (diff)
downloadscala-77ef6d42792bfdb5bf3fcb8232a47f7affe61a56.tar.gz
scala-77ef6d42792bfdb5bf3fcb8232a47f7affe61a56.tar.bz2
scala-77ef6d42792bfdb5bf3fcb8232a47f7affe61a56.zip
Adapted Tuple template to new syntax.
-rw-r--r--sources/scala/Tuple.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/scala/Tuple.tmpl b/sources/scala/Tuple.tmpl
index a04d34c613..2c41dc9b49 100644
--- a/sources/scala/Tuple.tmpl
+++ b/sources/scala/Tuple.tmpl
@@ -8,14 +8,14 @@
** |/ **
\* */
-package scala with {
- case class Tuple[#n#][#type-params#]([#value-params#]) extends scala.Object with {
+package scala {
+ case class Tuple[#n#][#type-params#]([#value-params#]) extends scala.Object {
override def hashCode() = [#hash-code#];
override def == (other: Any) =
- if (other.is[Tuple[#n#][#type-params#]]) {
- val that = other.as[Tuple[#n#][#type-params#]];
+ if (other is Tuple[#n#][#type-params#]) {
+ val that = other as Tuple[#n#][#type-params#];
[#equal#]
} else Boolean.False;