summaryrefslogtreecommitdiff
path: root/test/files/neg/classmanifests_new_deprecations.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-7783 Don't issue deprecation warnings for inferred TypeTreesJason Zaugg2013-09-271-7/+1
| | | | | | | | | | | | | Deprecation checks in RefChecks were looking into all TypeTrees to find references to deprecated type aliases. However, when the compiler infers a type argument or type of a member it creates a TypeTree (with a null original) that was also leading to warnings. I ran into this problem often when upgrading a build from SBT 0.12 to 0.13: a plugin I was using used the deprecated type alias, and I suffered transitively when I used methods from its API. This commit disables the checks for inferred TypeTree-s.
* undeprecates manifests for 2.10.0Eugene Burmako2012-10-031-31/+1
| | | | | | | | Since scala-reflect.jar is going to be declared experimental for 2.10.0, it doesn't make sense to deprecate manifests in favor of type tags. Class manifests, however, ARE deprecated for class tags, because class tags don't require scala-reflect.jar and are generated independently of type tags.
* Normalized line endings.Paul Phillips2012-09-201-61/+61
| | | | | | This brings all the files into line with the .gitattributes settings, which should henceforth be automatically maintained by git.
* Improves backward compatibility of manifestsEugene Burmako2012-07-021-0/+61
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.