summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorJosh Suereth <Joshua.Suereth@gmail.com>2012-08-07 12:41:15 -0700
committerJosh Suereth <Joshua.Suereth@gmail.com>2012-08-07 12:41:15 -0700
commit6b3d36bc19cc82350c3754b0b91fb074a443d9bc (patch)
treecb58827272d77f274be83f164914f64ec22c82ee /src/compiler
parentd8b35a11d67c2a597f1d93456b341a650b542520 (diff)
parentcc3badae17e160a446c3a160ab83a11348f75546 (diff)
downloadscala-6b3d36bc19cc82350c3754b0b91fb074a443d9bc.tar.gz
scala-6b3d36bc19cc82350c3754b0b91fb074a443d9bc.tar.bz2
scala-6b3d36bc19cc82350c3754b0b91fb074a443d9bc.zip
Merge pull request #1082 from VladUreche/topic/remove-anyref-from-library
Removes AnyRef specialization from library
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala b/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala
index 0b4fcda5c4..10a946c318 100644
--- a/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala
+++ b/src/compiler/scala/tools/nsc/transform/SpecializeTypes.scala
@@ -69,7 +69,7 @@ abstract class SpecializeTypes extends InfoTransform with TypingTransformers {
import definitions.{
BooleanClass, UnitClass, ArrayClass,
ScalaValueClasses, isPrimitiveValueClass, isPrimitiveValueType,
- SpecializedClass, UnspecializedClass, AnyRefClass, ObjectClass, AnyRefModule,
+ SpecializedClass, UnspecializedClass, AnyRefClass, ObjectClass,
GroupOfSpecializable, uncheckedVarianceClass, ScalaInlineClass
}
import rootMirror.RootClass
@@ -326,7 +326,7 @@ abstract class SpecializeTypes extends InfoTransform with TypingTransformers {
}
}
- lazy val specializableTypes = (ScalaValueClasses :+ AnyRefClass) map (_.tpe) sorted
+ lazy val specializableTypes = ScalaValueClasses map (_.tpe) sorted
/** If the symbol is the companion of a value class, the value class.
* Otherwise, AnyRef.