summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidret.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-09-28 10:24:48 +1000
committerJason Zaugg <jzaugg@gmail.com>2014-09-28 10:24:48 +1000
commitdc548947a32f7923fdb5ed4f0a9c8454773b1a05 (patch)
treede25d3140e0f33e84d66321221eecf5525a0d5d7 /test/files/neg/macro-invalidret.check
parentf62c312a857e1a6cc6646ee60a0f86866e19c01b (diff)
downloadscala-dc548947a32f7923fdb5ed4f0a9c8454773b1a05.tar.gz
scala-dc548947a32f7923fdb5ed4f0a9c8454773b1a05.tar.bz2
scala-dc548947a32f7923fdb5ed4f0a9c8454773b1a05.zip
Avoid test fragility to changes in Predef
The check file used to contain a stack trace entry from Predef with a line number. I've made the macro fail in a different manner that avoids this fragility.
Diffstat (limited to 'test/files/neg/macro-invalidret.check')
-rw-r--r--test/files/neg/macro-invalidret.check3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/neg/macro-invalidret.check b/test/files/neg/macro-invalidret.check
index 568cc7c570..ebdc8ec7da 100644
--- a/test/files/neg/macro-invalidret.check
+++ b/test/files/neg/macro-invalidret.check
@@ -19,8 +19,7 @@ Macros_Test_2.scala:7: warning: macro defs must have explicitly specified return
def foo6 = macro Impls.foo6
^
Macros_Test_2.scala:14: error: exception during macro expansion:
-scala.NotImplementedError: an implementation is missing
- at scala.Predef$.$qmark$qmark$qmark(Predef.scala:225)
+java.lang.NullPointerException
at Impls$.foo3(Impls_1.scala:7)
foo3