class AnnotNotFound {
def foo(a: Any) = ()
foo {
@inargument
def foo = 0
foo
}
() => {
@infunction
def foo = 0
()
}
@classs
class C
class D[@typeparam T]
class E(
@valueparam x: Any
)
}
The errors for inargument and infunction are not issued until the other errors are resolved.