diff options
author | Paul Phillips <paulp@improving.org> | 2013-06-07 16:38:13 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-06-07 16:38:13 -0700 |
commit | aefdbd3f923826c6efe87d6f5dbaa84095c090ce (patch) | |
tree | 5fda90b3f75949b5d947ceaef5f017e78f776bc2 /test/files/neg/macro-invalidshape.check | |
parent | 5312d6305530eb14d369d0f4acaf7ca4e278ea72 (diff) | |
parent | a45d3e5658a1ccb57d3b420eb36d84f7170404b5 (diff) | |
download | scala-aefdbd3f923826c6efe87d6f5dbaa84095c090ce.tar.gz scala-aefdbd3f923826c6efe87d6f5dbaa84095c090ce.tar.bz2 scala-aefdbd3f923826c6efe87d6f5dbaa84095c090ce.zip |
Merge pull request #2622 from scalamacros/pullrequest/paradise
Backport from paradise/macros
Diffstat (limited to 'test/files/neg/macro-invalidshape.check')
-rw-r--r-- | test/files/neg/macro-invalidshape.check | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/files/neg/macro-invalidshape.check b/test/files/neg/macro-invalidshape.check index 40a2952569..1938f5ae47 100644 --- a/test/files/neg/macro-invalidshape.check +++ b/test/files/neg/macro-invalidshape.check @@ -12,4 +12,9 @@ Macros_Test_2.scala:4: 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 foo3(x: Any) = macro {2; Impls.foo} ^ -three errors found +Macros_Test_2.scala:7: error: macro implementation reference has wrong shape. required: +macro [<static object>].<method name>[[<type args>]] or +macro [<macro bundle>].<method name>[[<type args>]] + def foo = macro impl + ^ +four errors found |