summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-basic-mamdmi.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-07-17 12:29:49 +0200
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-07-18 15:32:38 +0200
commit725c5c907ba9ecdec4ee343bd0aa0ff438b4c20c (patch)
tree2f93646a7ba7a6ea154449ae8606c69a09503a42 /test/files/neg/macro-basic-mamdmi.check
parentf0fdcc010966030d55c297d5725adaaddfe7d20d (diff)
downloadscala-725c5c907ba9ecdec4ee343bd0aa0ff438b4c20c.tar.gz
scala-725c5c907ba9ecdec4ee343bd0aa0ff438b4c20c.tar.bz2
scala-725c5c907ba9ecdec4ee343bd0aa0ff438b4c20c.zip
Encapsulate reporting mode as class of reportBuffer.
Reporting mode used to be governed by contextMode. This logic is left in place by this commit, and the consistency of the new and the old is checked. Will be removed in follow-up commit. The main difference is that we no longer throw TypeErrors in buffering mode. There was one instance of context.error in implicit search the exploited the fact that implicit search runs in buffering (silent) mode and thus calls to error(pos,msg) used to throw new TypeError(pos, msg) -- made this explicit, and removed throwing behavior from the buffering context reporter.
Diffstat (limited to 'test/files/neg/macro-basic-mamdmi.check')
-rw-r--r--test/files/neg/macro-basic-mamdmi.check10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/files/neg/macro-basic-mamdmi.check b/test/files/neg/macro-basic-mamdmi.check
index 61df5131cc..54743d4936 100644
--- a/test/files/neg/macro-basic-mamdmi.check
+++ b/test/files/neg/macro-basic-mamdmi.check
@@ -1,5 +1,13 @@
+Impls_Macros_Test_1.scala:33: error: macro implementation not found: foo
+(the most common reason for that is that you cannot use macro implementations in the same compilation run that defines them)
+ println(foo(2) + Macros.bar(2) * new Macros().quux(4))
+ ^
+Impls_Macros_Test_1.scala:33: error: macro implementation not found: bar
+(the most common reason for that is that you cannot use macro implementations in the same compilation run that defines them)
+ println(foo(2) + Macros.bar(2) * new Macros().quux(4))
+ ^
Impls_Macros_Test_1.scala:33: error: macro implementation not found: quux
(the most common reason for that is that you cannot use macro implementations in the same compilation run that defines them)
println(foo(2) + Macros.bar(2) * new Macros().quux(4))
^
-one error found
+three errors found