diff options
author | Miles Sabin <miles@milessabin.com> | 2016-11-28 13:59:28 +0000 |
---|---|---|
committer | Miles Sabin <miles@milessabin.com> | 2016-11-28 13:59:28 +0000 |
commit | 1870f1af7e81bbe46ea653d6c5ee5bfe476d277b (patch) | |
tree | 63d3b877ffa9c0c0f961eb274f628a6ae9f29a6c /test | |
parent | 6ec56abd80cb8f4c4f2c4a8b4788d2e17ce84942 (diff) | |
download | scala-1870f1af7e81bbe46ea653d6c5ee5bfe476d277b.tar.gz scala-1870f1af7e81bbe46ea653d6c5ee5bfe476d277b.tar.bz2 scala-1870f1af7e81bbe46ea653d6c5ee5bfe476d277b.zip |
Typevar experimentals now default; t5729 pos -> neg.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/t5729.check | 7 | ||||
-rw-r--r-- | test/files/neg/t5729.scala (renamed from test/files/pos/t5729.scala) | 0 |
2 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 diff --git a/test/files/pos/t5729.scala b/test/files/neg/t5729.scala index 9fd9c9ffbb..9fd9c9ffbb 100644 --- a/test/files/pos/t5729.scala +++ b/test/files/neg/t5729.scala |