From 28483739c365b1a3b748ebab50b03bd66a4db61d Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Sat, 14 Apr 2012 19:50:21 +0200 Subject: 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) --- test/files/neg/t4515.check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/neg') 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 -- cgit v1.2.3