2.9 compatibility for incremental compilation modules

This commit is contained in:
Mark Harrah 2012-12-11 14:41:09 -05:00
parent 4c1c31e190
commit 71f12fbcdb
2 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,6 @@ import xsbti.api
import xsbti.SafeLazy
import SafeLazy.strict
import collection.mutable
import scala.reflect.ClassTag
object ClassToAPI
{
@ -19,7 +18,7 @@ object ClassToAPI
}
// Avoiding implicit allocation.
private def arrayMap[T <: AnyRef, U <: AnyRef : ClassTag](xs: Array[T])(f: T => U): Array[U] = {
private def arrayMap[T <: AnyRef, U <: AnyRef : ClassManifest](xs: Array[T])(f: T => U): Array[U] = {
val len = xs.length
var i = 0
val res = new Array[U](len)