Skip to content

Commit 382314b

Browse files
committed
Fix test i15503i
1 parent 95f148f commit 382314b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/warn/i15503i.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@ package foo.test.i16822:
188188
}
189189

190190
package foo.test.i16877:
191-
import scala.collection.immutable.HashMap // OK
191+
import scala.Array // OK
192192
import scala.annotation.StaticAnnotation // OK
193193

194-
class ExampleAnnotation(val a: Object) extends StaticAnnotation // OK
194+
class ExampleAnnotation(val a: Array[Int]) extends StaticAnnotation // OK
195195

196-
//@ExampleAnnotation(new HashMap()) // Invalid annotation argument
196+
@ExampleAnnotation(Array(1,2)) // OK
197197
class Test //OK
198198

199199
package foo.test.i16926:

0 commit comments

Comments
 (0)