summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@epfl.ch>2012-04-14 19:50:21 +0200
committerAdriaan Moors <adriaan.moors@epfl.ch>2012-04-14 22:49:02 +0200
commit28483739c365b1a3b748ebab50b03bd66a4db61d (patch)
treebb5e7f33fd3cb67781cef52a818b41d78d1fdacc /test/files/neg
parent1a6e7129da15cf77beb26ab84bbfdb8ef356cc21 (diff)
downloadscala-28483739c365b1a3b748ebab50b03bd66a4db61d.tar.gz
scala-28483739c365b1a3b748ebab50b03bd66a4db61d.tar.bz2
scala-28483739c365b1a3b748ebab50b03bd66a4db61d.zip
restore typedMatchAnonFun in all its glory
detect partialfunction in cpsannotationchecker emit apply/isDefinedAt if PF has @cps targs (applyOrElse can't be typed) further hacky improvements to selective anf better try/catch support in selective cps using freshly minted anonfun match make virtpatmat resilient to scaladoc (after uncurry, don't translate matches TODO: factor out translation all together so presentation compiler/scaladoc can skip it)
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/t4515.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t4515.check b/test/files/neg/t4515.check
index a60d16295f..856d252a0f 100644
--- a/test/files/neg/t4515.check
+++ b/test/files/neg/t4515.check
@@ -1,6 +1,6 @@
t4515.scala:37: error: type mismatch;
- found : _0(in value $anonfun) where type _0(in value $anonfun)
- required: (some other)_0(in value $anonfun)
+ found : _0(in method apply) where type _0(in method apply)
+ required: (some other)_0(in method apply)
handler.onEvent(target, ctx.getEvent, node, ctx)
^
one error found