diff options
author | Som Snytt <som.snytt@gmail.com> | 2013-09-18 13:56:12 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2013-09-18 20:36:15 -0700 |
commit | 40d57db2998d9b2cc438bb268dc859d04b5df55c (patch) | |
tree | 199052261f768d43c7e509392efc221c60407d08 /src/compiler | |
parent | 6ff756b7874fffe9cfe260be1b35536d48f88db2 (diff) | |
download | scala-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.scala | 2 |
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 { |