summaryrefslogtreecommitdiff
path: root/test/files/neg/t5729.check
diff options
context:
space:
mode:
authorMiles Sabin <miles@milessabin.com>2016-11-28 13:59:28 +0000
committerMiles Sabin <miles@milessabin.com>2016-11-28 13:59:28 +0000
commit1870f1af7e81bbe46ea653d6c5ee5bfe476d277b (patch)
tree63d3b877ffa9c0c0f961eb274f628a6ae9f29a6c /test/files/neg/t5729.check
parent6ec56abd80cb8f4c4f2c4a8b4788d2e17ce84942 (diff)
downloadscala-1870f1af7e81bbe46ea653d6c5ee5bfe476d277b.tar.gz
scala-1870f1af7e81bbe46ea653d6c5ee5bfe476d277b.tar.bz2
scala-1870f1af7e81bbe46ea653d6c5ee5bfe476d277b.zip
Typevar experimentals now default; t5729 pos -> neg.
Diffstat (limited to 'test/files/neg/t5729.check')
-rw-r--r--test/files/neg/t5729.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t5729.check b/test/files/neg/t5729.check
new file mode 100644
index 0000000000..10c13db8b6
--- /dev/null
+++ b/test/files/neg/t5729.check
@@ -0,0 +1,7 @@
+t5729.scala:5: error: ambiguous reference to overloaded definition,
+both method join in object Test of type [S](in: Seq[T[S]])String
+and method join in object Test of type (in: Seq[T[_]])Int
+match argument types (Seq[T[_]])
+ join(null: Seq[T[_]])
+ ^
+one error found