diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-08-16 18:06:19 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-08-16 18:06:19 +0200 |
commit | 076a92b8e15ddb26c0f668c5656b8a5c891ea059 (patch) | |
tree | a1b0ee088379d6b702323759e98701e709ce88bd | |
parent | ab8a223c6c01c1a725c9892c04952f6451aedf0d (diff) | |
download | scala-076a92b8e15ddb26c0f668c5656b8a5c891ea059.tar.gz scala-076a92b8e15ddb26c0f668c5656b8a5c891ea059.tar.bz2 scala-076a92b8e15ddb26c0f668c5656b8a5c891ea059.zip |
SI-7603 Remove diagnostic code for annotation error
We've fingered the true culprit in the previous commit.
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Namers.scala | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala index 8f542af417..bb938074cb 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala @@ -1425,14 +1425,6 @@ trait Namers extends MethodSynthesis { annCtx.setReportErrors() // need to be lazy, #1782. beforeTyper to allow inferView in annotation args, SI-5892. AnnotationInfo lazily { - if (typer.context ne ctx) - log(sm"""|The var `typer.context` in ${Namer.this} was mutated before the annotation ${ann} was forced. - | - |current value = ${typer.context} - |original value = $ctx - | - |This confirms the hypothesis for the cause of SI-7603. If you see this message, please comment on that ticket.""") - beforeTyper(newTyper(annCtx) typedAnnotation ann) } } |