summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2013-09-18 13:56:12 -0700
committerSom Snytt <som.snytt@gmail.com>2013-09-18 20:36:15 -0700
commit40d57db2998d9b2cc438bb268dc859d04b5df55c (patch)
tree199052261f768d43c7e509392efc221c60407d08 /src/compiler
parent6ff756b7874fffe9cfe260be1b35536d48f88db2 (diff)
downloadscala-40d57db2998d9b2cc438bb268dc859d04b5df55c.tar.gz
scala-40d57db2998d9b2cc438bb268dc859d04b5df55c.tar.bz2
scala-40d57db2998d9b2cc438bb268dc859d04b5df55c.zip
SI-7855 No missing interpolator warning post-typer
Avoid extra work, extra warnings.
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index 80e9e16178..88b9b2c71c 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -4869,7 +4869,7 @@ trait Typers extends Adaptations with Tags with TypersTracking with PatternTyper
}
// Warn about likely interpolated strings which are missing their interpolators
- def warnMissingInterpolator(tree: Literal) {
+ def warnMissingInterpolator(tree: Literal) = if (!isPastTyper) {
// Unfortunately implicit not found strings looks for all the world like
// missing interpolators.
def isArgToImplicitNotFound = context.enclosingApply.tree match {