summaryrefslogblamecommitdiff
path: root/test/files/neg/macro-reify-splice-splice.check
blob: bd1ea7acee0b9943a33ac632f11ab5f9263ac1bb (plain) (tree)
1
2
3
4
5
6
7






                                                                                                                          
Macros_1.scala:8: error: the splice cannot be resolved statically, which means there is a cross-stage evaluation involved.
cross-stage evaluations need to be invoked explicitly, so we're showing you this error.
if you're sure this is not an oversight, add scala-compiler.jar to the classpath,
import `scala.tools.reflect.Eval` and call `<your expr>.eval` instead.
      { c.universe.reify(c.universe.reify("hello world")) }.splice.splice
                                                                   ^
one error found