scala/scala — pull request #1802 by paulp (2012-12-22 19:35:40+00:00)
Title: SI-6860, annotations accepting dummy arguments.

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]

scala>

Now it says:

:8: error: Bippy[T] requires explicit type arguments
def f: Int @Bippy = 5
^