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 95f148f commit 382314bCopy full SHA for 382314b
tests/warn/i15503i.scala
@@ -188,12 +188,12 @@ package foo.test.i16822:
188
}
189
190
package foo.test.i16877:
191
- import scala.collection.immutable.HashMap // OK
+ import scala.Array // OK
192
import scala.annotation.StaticAnnotation // OK
193
194
- class ExampleAnnotation(val a: Object) extends StaticAnnotation // OK
+ class ExampleAnnotation(val a: Array[Int]) extends StaticAnnotation // OK
195
196
- //@ExampleAnnotation(new HashMap()) // Invalid annotation argument
+ @ExampleAnnotation(Array(1,2)) // OK
197
class Test //OK
198
199
package foo.test.i16926:
0 commit comments