summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-02-28 16:49:51 +0000
committerPaul Phillips <paulp@improving.org>2011-02-28 16:49:51 +0000
commit4073555ee54815015ee225149ac9989ee6b93af5 (patch)
treeb4b90d8dc0482300e3b8a8808bd95d349dcea746
parentbee568cb56a72f4e17bf3340c15a55d999a232ff (diff)
downloadscala-4073555ee54815015ee225149ac9989ee6b93af5.tar.gz
scala-4073555ee54815015ee225149ac9989ee6b93af5.tar.bz2
scala-4073555ee54815015ee225149ac9989ee6b93af5.zip
Attempting to fix half my recently imposed brea...
Attempting to fix half my recently imposed breakage. No review.
-rw-r--r--src/compiler/scala/tools/nsc/transform/Mixin.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/Mixin.scala b/src/compiler/scala/tools/nsc/transform/Mixin.scala
index 866f66cf74..01f90ec236 100644
--- a/src/compiler/scala/tools/nsc/transform/Mixin.scala
+++ b/src/compiler/scala/tools/nsc/transform/Mixin.scala
@@ -254,7 +254,7 @@ abstract class Mixin extends InfoTransform with ast.TreeDSL {
// XXX this should be impl.isImplClass, except that we get impl classes
// coming through under -optimise which do not agree that they are (because
// the IMPLCLASS flag is unset, I believe.) See ticket #4285.
- nme.isImplClassName(impl.name),
+ nme.isImplClassName(impl.name) || impl.isImplClass,
"%s (%s) is not a an implementation class, it cannot mix in %s".format(
impl, impl.defaultFlagString, iface)
)