aboutsummaryrefslogtreecommitdiff
path: root/tests/pos
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-06-02 18:49:05 +0200
committerMartin Odersky <odersky@gmail.com>2016-07-27 19:28:36 +0200
commit1fa136f3be21dce9eae2d09d7cee959ede48e177 (patch)
treeb8587e10bf725bff3ba6dbf6b363388864709bc1 /tests/pos
parent50c80e83d301720795a40a2b3347dad45774e4e7 (diff)
downloaddotty-1fa136f3be21dce9eae2d09d7cee959ede48e177.tar.gz
dotty-1fa136f3be21dce9eae2d09d7cee959ede48e177.tar.bz2
dotty-1fa136f3be21dce9eae2d09d7cee959ede48e177.zip
Remove overloaded constructor for annotations
This lead to inference failures when separately compiling t1751 and t294, this did not happen under joint compilation because JavaParser does not create the overloaded constructor
Diffstat (limited to 'tests/pos')
-rw-r--r--tests/pos/annot.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pos/annot.scala b/tests/pos/annot.scala
index e6e4f8051..dec6af945 100644
--- a/tests/pos/annot.scala
+++ b/tests/pos/annot.scala
@@ -9,7 +9,7 @@ class Test {
@SuppressWarnings(Array("hi", "foo")) def foo2() = ??? //can be deferred as there is a non-generic method
- @SuppressWarnings("hi") def foo3() = ??? // can be written in java and is serialized this way in bytecode. doesn't typecheck
+ @SuppressWarnings(Array("hi")) def foo3() = ??? // can be written in java and is serialized this way in bytecode. doesn't typecheck
@Transient(false) def bar = ???