work around for type inference change in 2.10

This commit is contained in:
Mark Harrah 2012-03-13 08:01:58 -04:00
parent 15b2d59c01
commit 1ffa7b7d92
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ object Scope
def linearize[T](axis: ScopeAxis[T], appendGlobal: Boolean = true)(inherit: T => Seq[T]): Seq[ScopeAxis[T]] =
axis match
{
case Select(x) => topologicalSort(x, appendGlobal)(inherit)
case Select(x) => topologicalSort[T](x, appendGlobal)(inherit)
case Global | This => if(appendGlobal) Global :: Nil else Nil
}