summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-06-12 02:25:41 +0000
committerPaul Phillips <paulp@improving.org>2011-06-12 02:25:41 +0000
commita4772525b2426b839ef78e05a60d7b0746d4413d (patch)
tree5606b2316b8e462d276f195fb10f8cbf199d6b63 /src
parent58a147ae51c09105d0dd7e7fd3a471ac467a8d05 (diff)
downloadscala-a4772525b2426b839ef78e05a60d7b0746d4413d.tar.gz
scala-a4772525b2426b839ef78e05a60d7b0746d4413d.tar.bz2
scala-a4772525b2426b839ef78e05a60d7b0746d4413d.zip
Disabled the addition to isImpossibleSubType wh...
Disabled the addition to isImpossibleSubType which prevents scalaz from building with trunk. Not sure what should happen with it; review by rompf.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Infer.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Infer.scala b/src/compiler/scala/tools/nsc/typechecker/Infer.scala
index 87c6b54756..14968ca902 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Infer.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Infer.scala
@@ -431,8 +431,9 @@ trait Infer {
sym2.isClass &&
!(sym1 isSubClass sym2) &&
!(sym1 isNumericSubClass sym2)
- case RefinedType(_, decls) =>
- decls.nonEmpty && tp1.member(decls.head.name) == NoSymbol
+ // XXX - disabled for preventing scalaz from building.
+ // case RefinedType(_, decls) =>
+ // decls.nonEmpty && tp1.member(decls.head.name) == NoSymbol
case _ => false
}
case _ => false