We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9928d5 commit c24400fCopy full SHA for c24400f
test/files/neg/t6558.check
@@ -1,4 +1,10 @@
1
-t6558.scala:5: error: not found: type sth
2
- @sth
3
- ^
4
-one error found
+t6558.scala:16: error: not found: type classs
+ @classs
+ ^
+t6558.scala:19: error: not found: type typeparam
5
+ class D[@typeparam T]
6
7
+t6558.scala:22: error: not found: type valueparam
8
+ @valueparam x: Any
9
10
+three errors found
test/files/neg/t6558.scala
@@ -2,8 +2,23 @@ class AnnotNotFound {
def foo(a: Any) = ()
foo {
+ @inargument
def foo = 0
foo
}
+
+ () => {
11
+ @infunction
12
+ def foo = 0
13
+ ()
14
+ }
15
16
17
+ class C
18
19
20
21
+ class E(
22
23
+ )
24
0 commit comments