diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-12-02 22:52:49 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-12-12 15:06:22 +0100 |
commit | b2b9cf4f8c8ff8a00d19aabd56f0602c2aced4b3 (patch) | |
tree | 1e877fe065c1f3730e33e254678c1a95b5948d33 /test | |
parent | e6cee2627555f379ef6cd8cd554a1079a7e074aa (diff) | |
download | scala-b2b9cf4f8c8ff8a00d19aabd56f0602c2aced4b3.tar.gz scala-b2b9cf4f8c8ff8a00d19aabd56f0602c2aced4b3.tar.bz2 scala-b2b9cf4f8c8ff8a00d19aabd56f0602c2aced4b3.zip |
SI-8024 Improve user-level toString of package objects
We were outputing a the unattractive `package package`;
now we opt for `package object pack`.
Under `-Ydebug`, we still go to the "accurate" mode of the
old `toString` implementation, which differentiates package objects
vs package object classes.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/t8024.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t8024.check b/test/files/neg/t8024.check index f04e4add9c..bd551aa591 100644 --- a/test/files/neg/t8024.check +++ b/test/files/neg/t8024.check @@ -1,5 +1,5 @@ t8024.scala:13: error: reference to sqrt is ambiguous; -it is both defined in package package and imported subsequently by +it is both defined in package object p and imported subsequently by import java.lang.Math.sqrt sqrt(0d) ^ |