Skip to content

Commit

Permalink
fix compiler interface to work with 2.10.0-SNAPSHOT
Browse files Browse the repository at this point in the history
(cherry picked from commit b5c4e52)
  • Loading branch information
harrah authored and dragos committed Jan 20, 2012
1 parent f7268fc commit 66ee1b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compile/interface/API.scala
Expand Up @@ -258,7 +258,11 @@ 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)
}

// This filters private[this] vals/vars that were not in the original source.
// The getter will be used for processing instead.
Expand Down

0 comments on commit 66ee1b3

Please sign in to comment.