summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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