From b640b4c70f3dfbc2db48d81f5d853227e3a0c732 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 30 Jun 2009 18:27:18 +0000 Subject: 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. --- test/files/neg/names-defaults-neg.check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/neg/names-defaults-neg.check') 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; -- cgit v1.2.3