summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-10-03 23:09:42 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-10-03 23:56:07 +0200
commit992d255e2fc1ca487a60e38196ec4aa952617b92 (patch)
treeb929ca03652a7e0fff1d4e02b3e28dc15a913887 /test
parent1b2415865984071036c5f61e82a4a7048d4d18ee (diff)
downloadscala-992d255e2fc1ca487a60e38196ec4aa952617b92.tar.gz
scala-992d255e2fc1ca487a60e38196ec4aa952617b92.tar.bz2
scala-992d255e2fc1ca487a60e38196ec4aa952617b92.zip
renames macros.TypeError to TypecheckException
Again, this is not a fatal error, so it should end with an Error, and it should subclass not Throwable, but Exception. Also moved the exception outside the cake to simplify error handling, along the same lines of what've been done for parsing and reification exceptions.
Diffstat (limited to 'test')
-rw-r--r--test/files/run/macro-typecheck-implicitsdisabled.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/macro-typecheck-implicitsdisabled.check b/test/files/run/macro-typecheck-implicitsdisabled.check
index 6cf25076a7..c4fa2c5c28 100644
--- a/test/files/run/macro-typecheck-implicitsdisabled.check
+++ b/test/files/run/macro-typecheck-implicitsdisabled.check
@@ -1,2 +1,2 @@
scala.this.Predef.any2ArrowAssoc[Int](1).->[Int](2)
-scala.reflect.internal.Types$TypeError: value -> is not a member of Int
+scala.reflect.macros.TypecheckException: value -> is not a member of Int