summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidshape-c.check
blob: 0b2e9cfe4f4aebc6e06ed4626825c6433c029065 (plain) (blame)
1
2
3
4
5
6
7
8
9
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