summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-11-17 05:25:48 +0000
committerPaul Phillips <paulp@improving.org>2009-11-17 05:25:48 +0000
commitf34abbc0004cfa21c5f6e0d856f399f80828e07c (patch)
treedc2233ceb52b5f38adfce207be5eb825041ba25d /src/compiler
parentdb99de350f3e1d2e2465d5bcd386b938fd7b2569 (diff)
downloadscala-f34abbc0004cfa21c5f6e0d856f399f80828e07c.tar.gz
scala-f34abbc0004cfa21c5f6e0d856f399f80828e07c.tar.bz2
scala-f34abbc0004cfa21c5f6e0d856f399f80828e07c.zip
Contents of scala.Math moved into scala.math pa...
Contents of scala.Math moved into scala.math package object, and scala.Math deprecated. Also a couple janitorial cleanups.
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/symtab/Types.scala4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Types.scala b/src/compiler/scala/tools/nsc/symtab/Types.scala
index 5d2d85c83d..a68f766c9c 100644
--- a/src/compiler/scala/tools/nsc/symtab/Types.scala
+++ b/src/compiler/scala/tools/nsc/symtab/Types.scala
@@ -2338,10 +2338,6 @@ A type's typeSymbol should never be inspected directly.
if (phase.erasedTypes)
if (parents.isEmpty) ObjectClass.tpe else parents.head
else {
- // having $anonfun as owner causes the pickler to break upon unpickling; see ticket #2323
- // martin: I disabled this patch, replacing it with a fix in Pickler.
- //val nonAnonOwner = (owner.ownerChain dropWhile (_.isAnonymousFunction)).headOption getOrElse NoSymbol
- //val clazz = nonAnonOwner.newRefinementClass(NoPosition)
val clazz = owner.newRefinementClass(NoPosition)
val result = refinementOfClass(clazz, parents, decls)
clazz.setInfo(result)