diff options
Diffstat (limited to 'test/files/pos/t8013/inpervolator_1.scala')
-rw-r--r-- | test/files/pos/t8013/inpervolator_1.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/t8013/inpervolator_1.scala b/test/files/pos/t8013/inpervolator_1.scala index 89b7c22709..612e1d727d 100644 --- a/test/files/pos/t8013/inpervolator_1.scala +++ b/test/files/pos/t8013/inpervolator_1.scala @@ -18,7 +18,7 @@ object Perverse { def pImpl(c: Context)(args: c.Expr[Any]*): c.Expr[String] = { import c.universe._ val macroPos = c.macroApplication.pos - val text = macroPos.lineContent substring macroPos.column + val text = macroPos.source.lineToString(macroPos.line - 1) substring macroPos.column val tt = Literal(Constant(text)) val tree = q"t8013.Perverse.pervert($tt)" c.Expr[String](tree) |