diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-08-16 22:16:56 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-08-17 01:49:31 +0200 |
commit | 78f9ef3906c78413ff8835fdad3849bfe5516be2 (patch) | |
tree | 369ceffd85292f9e0bf821ca2139fcf84bb2d388 /test/files/neg/macro-invalidshape-c.check | |
parent | 4ea915c599d134ceeac67962e3cae88672b25b26 (diff) | |
download | scala-78f9ef3906c78413ff8835fdad3849bfe5516be2.tar.gz scala-78f9ef3906c78413ff8835fdad3849bfe5516be2.tar.bz2 scala-78f9ef3906c78413ff8835fdad3849bfe5516be2.zip |
shaves more than 150 lines off typedMacroBody
Diffstat (limited to 'test/files/neg/macro-invalidshape-c.check')
-rw-r--r-- | test/files/neg/macro-invalidshape-c.check | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/files/neg/macro-invalidshape-c.check b/test/files/neg/macro-invalidshape-c.check index 84d8c35222..6513df166e 100644 --- a/test/files/neg/macro-invalidshape-c.check +++ b/test/files/neg/macro-invalidshape-c.check @@ -1,6 +1,9 @@ -Macros_Test_2.scala:2: error: macro body has wrong shape:
- required: macro <reference to implementation object>.<implementation method name>
- or : macro <implementation method name>
+Macros_Test_2.scala:2: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
def foo(x: Any) = macro {2; Impls.foo}
- ^
+ ^
+Macros_Test_2.scala:2: error: missing arguments for method foo in object Impls;
+follow this method with `_' if you want to treat it as a partially applied function
+ def foo(x: Any) = macro {2; Impls.foo}
+ ^
+one warning found
one error found
|