Permalink
Browse files

fix compiler interface to work with 2.10.0-SNAPSHOT

  • Loading branch information...
1 parent 3a09388 commit b5c4e5290ee6f63430bba59eb68c3febaea32a4c @harrah harrah committed Jan 19, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 compile/interface/API.scala
@@ -260,7 +260,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.

0 comments on commit b5c4e52

Please sign in to comment.