diff options
author | Matthias Zenger <mzenger@gmail.com> | 2003-02-20 11:39:28 +0000 |
---|---|---|
committer | Matthias Zenger <mzenger@gmail.com> | 2003-02-20 11:39:28 +0000 |
commit | 77ef6d42792bfdb5bf3fcb8232a47f7affe61a56 (patch) | |
tree | e3df8c17a07b04fab827dbc71996e0fc5bd30014 /sources | |
parent | de0a87e4a03bdd902391c847a956cdc8558a73ec (diff) | |
download | scala-77ef6d42792bfdb5bf3fcb8232a47f7affe61a56.tar.gz scala-77ef6d42792bfdb5bf3fcb8232a47f7affe61a56.tar.bz2 scala-77ef6d42792bfdb5bf3fcb8232a47f7affe61a56.zip |
Adapted Tuple template to new syntax.
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scala/Tuple.tmpl | 8 |
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; |