Permalink
Browse files

fix compiler interface to work with 2.10.0-SNAPSHOT

  • Loading branch information...
harrah committed Jan 19, 2012
1 parent d65d23b commit 5784d378936cc910216f1bcc01abbb1168780875
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 5784d37

Please sign in to comment.