summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-override-macro-overrides-abstract-method-a.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-override-macro-overrides-abstract-method-a.check')
-rw-r--r--test/files/neg/macro-override-macro-overrides-abstract-method-a.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/macro-override-macro-overrides-abstract-method-a.check b/test/files/neg/macro-override-macro-overrides-abstract-method-a.check
index 8c8f039225..6b5d3013ba 100644
--- a/test/files/neg/macro-override-macro-overrides-abstract-method-a.check
+++ b/test/files/neg/macro-override-macro-overrides-abstract-method-a.check
@@ -1,5 +1,5 @@
Impls_Macros_1.scala:12: error: overriding method foo in trait Foo of type (x: Int)Int;
macro method foo cannot be used here - term macros cannot override abstract methods
- def foo(x: Int) = macro Impls.impl
+ def foo(x: Int): Int = macro Impls.impl
^
one error found