Permalink
Browse files

Uncomment manifest types and upgrade to Scala 2.7.2

  • Loading branch information...
jpretty@hydrogen
jpretty@hydrogen committed Nov 22, 2008
1 parent 98a2947 commit 15c04fe9aa3cad0240300de32608b8119dba0679
Showing with 1 addition and 3 deletions.
  1. +1 −1 pom.xml
  2. +0 −2 src/scalax/reflect/typeOf.scala
View
@@ -25,7 +25,7 @@
</license>
</licenses>
<properties>
- <scala.version>2.7.1</scala.version>
+ <scala.version>2.7.2</scala.version>
<java.src.version>1.5</java.src.version>
</properties>
<repositories>
@@ -21,12 +21,10 @@ import scala.reflect.Manifest
*/
sealed class typeOf[T](implicit val manifest: Manifest[T]) {
- /* Uncomment these when Scalax uses > 2.7.1
def erasure = manifest.erasure
def <:<[S](other: typeOf[S]) = manifest <:< other.manifest
def >:>[S](other: typeOf[S]) = manifest >:> other.manifest
- */
override def toString = manifest.toString
override def hashCode = manifest.hashCode

0 comments on commit 15c04fe

Please sign in to comment.