diff options
author | Paul Phillips <paulp@improving.org> | 2011-02-20 00:11:23 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-02-20 00:11:23 +0000 |
commit | 801c5cd82e1a7feb1f9515785ad36e0f0d2b993e (patch) | |
tree | 75718703f656ed1fc3005c4d7c2a2220c5c7b5b2 /test/files/neg/noMember1.check | |
parent | 3f96a415e123e5fc99c24e68ff5a9a53dc56e1fc (diff) | |
download | scala-801c5cd82e1a7feb1f9515785ad36e0f0d2b993e.tar.gz scala-801c5cd82e1a7feb1f9515785ad36e0f0d2b993e.tar.bz2 scala-801c5cd82e1a7feb1f9515785ad36e0f0d2b993e.zip |
Based on the frequency with which I hear questi...
Based on the frequency with which I hear questions about it and similar,
this error message assumes too much understanding.
scala> scala.collection.mutable.MultiMap(1, 2, 3) <console>:8: error:
value MultiMap is not a member of package scala.collection.mutable
Now it says:
scala> scala.collection.mutable.MultiMap(1, 2, 3) <console>:8: error:
object MultiMap is not a member of package scala.collection.mutable
Note: trait MultiMap exists, but it has no companion object.
No review.
Diffstat (limited to 'test/files/neg/noMember1.check')
-rw-r--r-- | test/files/neg/noMember1.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/noMember1.check b/test/files/neg/noMember1.check new file mode 100644 index 0000000000..846574bef9 --- /dev/null +++ b/test/files/neg/noMember1.check @@ -0,0 +1,5 @@ +noMember1.scala:1: error: object MultiMap is not a member of package scala.collection.mutable +Note: trait MultiMap exists, but it has no companion object. +import scala.collection.mutable.MultiMap._ + ^ +one error found |