mirror of https://github.com/sbt/sbt.git
simpler compatibility fix works ok
This commit is contained in:
parent
5bdd55b751
commit
c17bf071d7
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue