summaryrefslogtreecommitdiff
path: root/test/files/neg/reify_nested_inner_refers_to_local.check
blob: 68689b18d008e009534473ca75c88f3dbb62391b (plain) (blame)
1
2
3
4
5
6
7
reify_nested_inner_refers_to_local.scala:9: 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.
    reify{x}.splice
             ^
one error found