diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-02-18 17:37:31 +0100 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-18 15:41:26 -0800 |
commit | bba01661ea629ff636a538226ad267a67d9dbfa7 (patch) | |
tree | c5e3b82bcc6bc28bbdc012825bb219334ed2b6f0 /test/files/neg/t8229.scala | |
parent | 3dbcb1b9d4daa5cba98747bbc66f898ba0f864fd (diff) | |
download | scala-bba01661ea629ff636a538226ad267a67d9dbfa7.tar.gz scala-bba01661ea629ff636a538226ad267a67d9dbfa7.tar.bz2 scala-bba01661ea629ff636a538226ad267a67d9dbfa7.zip |
SI-8229 Source compatible name for implicit any2stringadd
To support the established pattern for disabling it for
an compilation unit.
Update scaladoc's knowledge of our "typeclasses".
Leave a `private[scala]` version of `StringAdd` (public in bytecode)
to ensure binary compatibility with 2.11.0-M8 for partest.
Diffstat (limited to 'test/files/neg/t8229.scala')
-rw-r--r-- | test/files/neg/t8229.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t8229.scala b/test/files/neg/t8229.scala new file mode 100644 index 0000000000..91966311e2 --- /dev/null +++ b/test/files/neg/t8229.scala @@ -0,0 +1,6 @@ +import Predef.{any2stringadd => _, _} + +object Test { + val o = new Object() + o + "" +} |