Skip to content

Commit

Permalink
To be compatible with Scala 2.11 refs #206
Browse files Browse the repository at this point in the history
resetAllAttrs should be replaceable by resetLocalAttrs, which exists both in 2.10.x and 2.11.0. Please let me know if you encounter any problems.

#206 (comment)
  • Loading branch information
seratch committed Mar 3, 2014
1 parent 0fa5e19 commit b4f16e9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -29,7 +29,7 @@ object SQLInterpolationMacro {
import c.universe._

val nameOpt: Option[String] = try {
Some(c.eval(c.Expr[String](c.resetAllAttrs(name.tree.duplicate))))
Some(c.eval(c.Expr[String](c.resetLocalAttrs(name.tree.duplicate))))
} catch {
case t: Throwable => None
}
Expand Down

0 comments on commit b4f16e9

Please sign in to comment.