summaryrefslogtreecommitdiff
path: root/test/files/run/t2577.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-2577, SI-6860: annotation type inference.Paul Phillips2013-01-261-0/+1
This is less than ideal: scala> class Bippy[T] extends annotation.StaticAnnotation defined class Bippy scala> def f: Int @Bippy = 5 f: Int @Bippy[T] Turns out we can infer such types. Now it says: scala> def f: Int @Bippy = 5 f: Int @Bippy[Nothing] This should put to rest many an issue with parameterized annotations.