summaryrefslogtreecommitdiff
path: root/test/files/neg/classmanifests_new_deprecations.scala
Commit message (Collapse)AuthorAgeFilesLines
* Improves backward compatibility of manifestsEugene Burmako2012-07-021-0/+37
1) type ClassManifest[T] = ClassTag[T] (solves a problem with toArray[T: ClassManifest] defined on most of the collections; if these types weren't aliases, then we won't be able to change the signature of that method to toArray[T: ClassTag], because that would break source compatibility for those who override toArray in their custom collections) 2) Compiler-generated manifests no longer trigger deprecation warnings (this is implemented by using ClassManifestFactory instead of ClassManifest and ManifestFactory instead of Manifest) 3) Deprecation messages got improved to reflect the changes that were introduced in 2.10.0-M4.