summaryrefslogtreecommitdiff
path: root/test/files/neg/names-defaults-neg.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-06-30 18:27:18 +0000
committerPaul Phillips <paulp@improving.org>2009-06-30 18:27:18 +0000
commitb640b4c70f3dfbc2db48d81f5d853227e3a0c732 (patch)
treebca56b977361c33d2709a4975e4f52d12f2da51b /test/files/neg/names-defaults-neg.check
parentd14b4a117e477505afa4b2417133d3b8325ba4d3 (diff)
downloadscala-b640b4c70f3dfbc2db48d81f5d853227e3a0c732.tar.gz
scala-b640b4c70f3dfbc2db48d81f5d853227e3a0c732.tar.bz2
scala-b640b4c70f3dfbc2db48d81f5d853227e3a0c732.zip
Enhanced error message when a type error is bec...
Enhanced error message when a type error is because of identically named classes, one in scala.* and one not.
Diffstat (limited to 'test/files/neg/names-defaults-neg.check')
-rw-r--r--test/files/neg/names-defaults-neg.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/names-defaults-neg.check b/test/files/neg/names-defaults-neg.check
index 0a1ddf8286..f4ab2e5f99 100644
--- a/test/files/neg/names-defaults-neg.check
+++ b/test/files/neg/names-defaults-neg.check
@@ -94,10 +94,10 @@ List[Int]'s type parameters do not match type T's expected parameters: class Lis
^
error: type mismatch;
found : List[Int]
- required: List[List[List[List[X forSome { type X }]]]]
+ required: List[List[scala.List[List[X forSome { type X }]]]]
names-defaults-neg.scala:80: error: type mismatch;
found : List[Int]
- required: List[List[?]]
+ required: scala.List[scala.List[?]]
def test6[T](x: List[List[T]] = List(1,2)) = x
^
names-defaults-neg.scala:83: error: type mismatch;