diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-10-03 23:09:42 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-10-03 23:56:07 +0200 |
commit | 992d255e2fc1ca487a60e38196ec4aa952617b92 (patch) | |
tree | b929ca03652a7e0fff1d4e02b3e28dc15a913887 /test/files/run | |
parent | 1b2415865984071036c5f61e82a4a7048d4d18ee (diff) | |
download | scala-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/files/run')
-rw-r--r-- | test/files/run/macro-typecheck-implicitsdisabled.check | 2 |
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 |