From c17bf071d7163d4f27197801318b80f3eaaae922 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sat, 4 Feb 2012 21:10:30 -0500 Subject: [PATCH] simpler compatibility fix works ok --- compile/interface/API.scala | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/compile/interface/API.scala b/compile/interface/API.scala index ff77133cd..7e3b39ac9 100644 --- a/compile/interface/API.scala +++ b/compile/interface/API.scala @@ -260,11 +260,7 @@ final class API(val global: Global, val callback: xsbti.AnalysisCallback) extend None } private def ignoreClass(sym: Symbol): Boolean = - { - // 2.10 only has Name.endsWith(s: String) - implicit def nameToStringCompat(n: Name): String = n.toString - sym.isLocalClass || sym.isAnonymousClass || sym.fullName.endsWith(LocalChild) - } + sym.isLocalClass || sym.isAnonymousClass || sym.fullName.endsWith(LocalChild.toString) // This filters private[this] vals/vars that were not in the original source. // The getter will be used for processing instead.