Skip to content

Commit 8239303

Browse files
committed
Fixed test
1 parent b3af616 commit 8239303

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/pos/annot.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ class Test {
66

77
@SuppressWarnings(Array("hi", "foo")) def foo2() = ??? //can be deferred as there is a non-generic method
88

9-
@SuppressWarnings("hi") def foo() = ??? // array arguments may also be passed as varargs
10-
11-
// @SuppressWarnings("hi") def foo3() = ??? // can be written in java and is serialized this way in bytecode. doesn't typecheck
9+
@SuppressWarnings("hi") def foo3() = ??? // can be written in java and is serialized this way in bytecode. doesn't typecheck
1210

1311
@Transient(false) def bar = ???
1412

0 commit comments

Comments
 (0)