summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
index 60c186cb27..cac9453904 100644
--- a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
+++ b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
@@ -923,12 +923,11 @@ abstract class GenJVM extends SubComponent {
* then all matching names.
*/
def memberNames(sym: Symbol) = sym.info.members map (_.name.toString) toSet
- lazy val membersInCommon = atPhase(currentRun.picklerPhase)(
+ lazy val membersInCommon =
memberNames(linkedModule) intersect memberNames(linkedClass)
- )
/** Should method `m' get a forwarder in the mirror class? */
- def shouldForward(m: Symbol): Boolean = atPhase(currentRun.picklerPhase)(
+ def shouldForward(m: Symbol): Boolean = (
m.owner != ObjectClass
&& m.isMethod
&& m.isPublic