summaryrefslogtreecommitdiff
path: root/test/files/neg/t3015.check
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2011-09-23 14:22:13 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2011-09-23 14:22:13 +0000
commit1111b27d0eb95d69d7507291d242817a2dbe7e64 (patch)
treea93f609f79877a503d501e9278479a695dbca859 /test/files/neg/t3015.check
parent7dc4723db3b8d435a5596db9de3e0378e023c8df (diff)
downloadscala-1111b27d0eb95d69d7507291d242817a2dbe7e64.tar.gz
scala-1111b27d0eb95d69d7507291d242817a2dbe7e64.tar.bz2
scala-1111b27d0eb95d69d7507291d242817a2dbe7e64.zip
Back to square one.
Current design of error trees complicates the design of reflection library, and introduces sometimes unnecessary boilerplate and since I do not want to stall that work I am reverting all the changes related to error trees. A different design is currently under consideration but work will be done on separate branch on github. Revisions that got reverted: r25705, r25704 (partially), r25673, r25669, r25649, r25644, r25621, r25620, r25619 Review by odersky and extempore.
Diffstat (limited to 'test/files/neg/t3015.check')
-rw-r--r--test/files/neg/t3015.check7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/files/neg/t3015.check b/test/files/neg/t3015.check
index fec54b087b..32809b0669 100644
--- a/test/files/neg/t3015.check
+++ b/test/files/neg/t3015.check
@@ -3,4 +3,9 @@ t3015.scala:7: error: scrutinee is incompatible with pattern type;
required: java.lang.String
val b(foo) = "foo"
^
-one error found
+t3015.scala:7: error: type mismatch;
+ found : _$1(in value foo) where type _$1(in value foo) <: java.lang.String
+ required: (some other)_$1(in value foo) where type (some other)_$1(in value foo)
+ val b(foo) = "foo"
+ ^
+two errors found