summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/reflect/FastTrack.scala
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@gmail.com>2012-07-17 15:10:30 +0200
committerHubert Plociniczak <hubert.plociniczak@gmail.com>2012-07-17 15:16:37 +0200
commit72de4d83490190cec97fa56cfc5c18af6bb355d1 (patch)
tree5cb3d14f121959968a91d83a6212b219e37b1f39 /src/compiler/scala/tools/reflect/FastTrack.scala
parent0cfd858a38ddf0ac83d9bbefe85110f88dc707c0 (diff)
downloadscala-72de4d83490190cec97fa56cfc5c18af6bb355d1.tar.gz
scala-72de4d83490190cec97fa56cfc5c18af6bb355d1.tar.bz2
scala-72de4d83490190cec97fa56cfc5c18af6bb355d1.zip
Fixed SI-6076. Range positions for macro-based string interpolation.
Should bring back the jenkins job as well. Review by @odersky.
Diffstat (limited to 'src/compiler/scala/tools/reflect/FastTrack.scala')
-rw-r--r--src/compiler/scala/tools/reflect/FastTrack.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/reflect/FastTrack.scala b/src/compiler/scala/tools/reflect/FastTrack.scala
index 8ea66979bc..63ecfa32b2 100644
--- a/src/compiler/scala/tools/reflect/FastTrack.scala
+++ b/src/compiler/scala/tools/reflect/FastTrack.scala
@@ -43,7 +43,7 @@ trait FastTrack {
ApiUniverseReify bindTo { case (c, Apply(TypeApply(_, List(tt)), List(expr))) => c.materializeExpr(c.prefix.tree, EmptyTree, expr) }
MacroContextReify bindTo { case (c, Apply(TypeApply(_, List(tt)), List(expr))) => c.materializeExprForMacroContext(c.prefix.tree, expr) }
ReflectRuntimeCurrentMirror bindTo { case (c, _) => scala.reflect.runtime.Macros.currentMirror(c).tree }
- StringContext_f bindTo { case (c, Apply(Select(Apply(_, parts), _), args)) => c.macro_StringInterpolation_f(parts, args) }
+ StringContext_f bindTo { case (c, app@Apply(Select(Apply(_, parts), _), args)) => c.macro_StringInterpolation_f(parts, args, app.pos) }
registry
}
} \ No newline at end of file