summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Typers.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2011-02-01 16:18:20 +0000
committerIulian Dragos <jaguarul@gmail.com>2011-02-01 16:18:20 +0000
commitcaf436d96fda91365295035297bbf8cec4bd4da1 (patch)
tree55bba64709329c3bc9650292dc331a11ba0477b4 /src/compiler/scala/tools/nsc/typechecker/Typers.scala
parent589b8a5d536da8c41bcaeee4aff382828fd9253d (diff)
downloadscala-caf436d96fda91365295035297bbf8cec4bd4da1.tar.gz
scala-caf436d96fda91365295035297bbf8cec4bd4da1.tar.bz2
scala-caf436d96fda91365295035297bbf8cec4bd4da1.zip
Cleared 'createdSyntheticMethod' on resetTyper ...
Cleared 'createdSyntheticMethod' on resetTyper (another leak in the presentation compiler). review by extempore.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index b211c20f41..ce0673196a 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -45,10 +45,12 @@ trait Typers extends Modes {
final val shortenImports = false
def resetTyper() {
+ //println("resetTyper called")
resetContexts()
resetNamer()
resetImplicits()
transformed.clear()
+ resetSynthetics()
}
object UnTyper extends Traverser {