diff options
author | Paul Phillips <paulp@improving.org> | 2011-04-11 05:01:17 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-04-11 05:01:17 +0000 |
commit | 112dc4f2a8fca6fb1a692a9891713eff5a32cb1f (patch) | |
tree | a4c759590d738db5ad693d54702b5347aa8ff0d8 /src/library | |
parent | 6b7ff287fcd56109d1db51ff82fce0ed0cdbcca6 (diff) | |
download | scala-112dc4f2a8fca6fb1a692a9891713eff5a32cb1f.tar.gz scala-112dc4f2a8fca6fb1a692a9891713eff5a32cb1f.tar.bz2 scala-112dc4f2a8fca6fb1a692a9891713eff5a32cb1f.zip |
Found there was still all kinds of detritus rem...
Found there was still all kinds of detritus remaining from the deceased
IMPLICITMETHODtpe and ImplicitMethodType. Applied wrecking ball,
review by moors. (Can I do the same thing with DEBRUIJNINDEXtpe and
DeBruijnIndex?)
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/reflect/Type.scala | 13 | ||||
-rwxr-xr-x | src/library/scala/reflect/generic/PickleFormat.scala | 2 |
2 files changed, 2 insertions, 13 deletions
diff --git a/src/library/scala/reflect/Type.scala b/src/library/scala/reflect/Type.scala index 85b047d97c..5aa92b3828 100644 --- a/src/library/scala/reflect/Type.scala +++ b/src/library/scala/reflect/Type.scala @@ -6,12 +6,8 @@ ** |/ ** \* */ - - package scala.reflect -import collection.immutable.List - /** This type is required by the compiler and <b>should not be used in client code</b>. */ abstract class Type @@ -55,13 +51,6 @@ case class NullaryMethodType(resultType: Type) extends Type /** This type is required by the compiler and <b>should not be used in client code</b>. */ case class PolyType(typeParams: List[Symbol], typeBounds: List[(Type, Type)], resultType: Type) extends Type - -/** This type is required by the compiler and <b>should not be used in client code</b>. */ -class ImplicitMethodType(formals: List[Symbol], restpe: Type) -extends MethodType(formals, restpe) - - - /* Standard pattern match: case reflect.NoPrefix => @@ -72,7 +61,7 @@ extends MethodType(formals, restpe) case reflect.ThisType(clazz) => case reflect.AppliedType(tpe, args) => case reflect.TypeBounds(lo, hi) => - case reflect.MethodType(formals, restpe) => //can also be ImplicitMethodType + case reflect.MethodType(formals, restpe) => case reflect.NullaryMethodType(restpe) => case reflect.PolyType(typeParams, typeBounds, resultType) => */ diff --git a/src/library/scala/reflect/generic/PickleFormat.scala b/src/library/scala/reflect/generic/PickleFormat.scala index a1f988a22d..1667e8c24f 100755 --- a/src/library/scala/reflect/generic/PickleFormat.scala +++ b/src/library/scala/reflect/generic/PickleFormat.scala @@ -137,7 +137,7 @@ object PickleFormat { final val CLASSINFOtpe = 19 final val METHODtpe = 20 final val POLYtpe = 21 - final val IMPLICITMETHODtpe = 22 + final val IMPLICITMETHODtpe = 22 // no longer generated final val LITERAL = 23 // base line for literals final val LITERALunit = 24 |