mirror of
https://github.com/sbt/sbt.git
synced 2026-09-07 11:01:08 +02:00
fix compiler interface to work with 2.10.0-SNAPSHOT
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user