summaryrefslogtreecommitdiff
path: root/test/files/neg/t8376.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-03-10 18:41:55 +0100
committerJason Zaugg <jzaugg@gmail.com>2014-03-10 18:41:55 +0100
commit88006140b13559a5673a6cbb5d6c9f892d11a1ae (patch)
treee11346386ecd70ef4fae3e72fe54bcfd252da238 /test/files/neg/t8376.check
parente6895d7e5f85b56dab986fa0be17ae9edffe288a (diff)
downloadscala-88006140b13559a5673a6cbb5d6c9f892d11a1ae.tar.gz
scala-88006140b13559a5673a6cbb5d6c9f892d11a1ae.tar.bz2
scala-88006140b13559a5673a6cbb5d6c9f892d11a1ae.zip
SI-8376 Better type printing for Java varargs
`T*` rather than `<repeated>[T]`, as we alreday do for Scala repeated parameters.
Diffstat (limited to 'test/files/neg/t8376.check')
-rw-r--r--test/files/neg/t8376.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t8376.check b/test/files/neg/t8376.check
new file mode 100644
index 0000000000..22ed942d51
--- /dev/null
+++ b/test/files/neg/t8376.check
@@ -0,0 +1,7 @@
+S.scala:2: error: overloaded method value m with alternatives:
+ (a: J*)Unit <and>
+ (a: String*)Unit
+ cannot be applied to (Int)
+ J.m(0)
+ ^
+one error found