diff options
author | Martin Odersky <odersky@gmail.com> | 2014-12-19 23:05:01 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-12-19 23:05:01 +0100 |
commit | 823930308048a26c07bb54ac77923ba8e24e68a4 (patch) | |
tree | 9c2cb6eae1e2f7df4a49c58b342c8ac708afe478 /tests/pos/annot.scala | |
parent | b3af6169d06796f3ac57d7082bc9eaeb0db34155 (diff) | |
download | dotty-823930308048a26c07bb54ac77923ba8e24e68a4.tar.gz dotty-823930308048a26c07bb54ac77923ba8e24e68a4.tar.bz2 dotty-823930308048a26c07bb54ac77923ba8e24e68a4.zip |
Fixed test
Diffstat (limited to 'tests/pos/annot.scala')
-rw-r--r-- | tests/pos/annot.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/pos/annot.scala b/tests/pos/annot.scala index dbce73005..c3a17ff1d 100644 --- a/tests/pos/annot.scala +++ b/tests/pos/annot.scala @@ -6,9 +6,7 @@ class Test { @SuppressWarnings(Array("hi", "foo")) def foo2() = ??? //can be deferred as there is a non-generic method - @SuppressWarnings("hi") def foo() = ??? // array arguments may also be passed as varargs - - // @SuppressWarnings("hi") def foo3() = ??? // can be written in java and is serialized this way in bytecode. doesn't typecheck + @SuppressWarnings("hi") def foo3() = ??? // can be written in java and is serialized this way in bytecode. doesn't typecheck @Transient(false) def bar = ??? |