summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2009-12-10 17:08:17 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2009-12-10 17:08:17 +0000
commit441f16c01bf501a137f30f96e0c8597157364459 (patch)
tree1a64af6431b227ed6f7b6b75c4a9ad03e6ca7a55 /src/compiler/scala/tools/nsc/typechecker/Contexts.scala
parent1ba4b3586601612c0debb63fa40306d868e9fcad (diff)
downloadscala-441f16c01bf501a137f30f96e0c8597157364459.tar.gz
scala-441f16c01bf501a137f30f96e0c8597157364459.tar.bz2
scala-441f16c01bf501a137f30f96e0c8597157364459.zip
cleanup
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Contexts.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Contexts.scala6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
index 5e73ac59a1..99fb60ccf4 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
@@ -486,11 +486,7 @@ trait Contexts { self: Analyzer =>
}
def implicitss: List[List[ImplicitInfo]] = {
- val nextOuter =
- if (owner.isConstructor) {
- if (outer.tree.isInstanceOf[Template]) outer.outer.outer
- else outer.outer.outer
- } else outer
+ val nextOuter = if (owner.isConstructor) outer.outer.outer else outer
// can we can do something smarter to bring back the implicit cache?
if (implicitsRunId != currentRunId) {
implicitsRunId = currentRunId