diff options
author | michelou <michelou@epfl.ch> | 2006-09-28 14:46:34 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-09-28 14:46:34 +0000 |
commit | 2511000652526ef0fe2d52983cead397af61269b (patch) | |
tree | 3f5600b58c3e2485ce63024d3c30840fd5a67c5f /src/compiler/scala/tools/nsc/typechecker/Analyzer.scala | |
parent | a3a8628edbd953a02db3cffc49dd5d7b4ce9e4c1 (diff) | |
download | scala-2511000652526ef0fe2d52983cead397af61269b.tar.gz scala-2511000652526ef0fe2d52983cead397af61269b.tar.bz2 scala-2511000652526ef0fe2d52983cead397af61269b.zip |
removed leading/trailing tabs/blanks in typeche...
removed leading/trailing tabs/blanks in typechecker/Analyzer.scala
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Analyzer.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Analyzer.scala | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala b/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala index ee666c8e49..abe5a0d0ef 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Analyzer.scala @@ -1,39 +1,39 @@ -/* NSC -- new scala compiler - * Copyright 2005 LAMP/EPFL +/* NSC -- new Scala compiler + * Copyright 2005-2006 LAMP/EPFL * @author Martin Odersky */ // $Id$ -package scala.tools.nsc.typechecker; + +package scala.tools.nsc.typechecker /** The main attribution phase. */ -trait Analyzer - extends AnyRef +trait Analyzer extends AnyRef with Contexts - with Namers - with Typers - with Infer - with Variances + with Namers + with Typers + with Infer + with Variances with EtaExpansion - with SyntheticMethods { + with SyntheticMethods { - val global: Global; - import global._; + val global: Global + import global._ object namerFactory extends SubComponent { - val global: Analyzer.this.global.type = Analyzer.this.global; - val phaseName = "namer"; + val global: Analyzer.this.global.type = Analyzer.this.global + val phaseName = "namer" def newPhase(_prev: Phase): StdPhase = new StdPhase(_prev) { def apply(unit: CompilationUnit): unit = - new Namer(rootContext(unit)).enterSym(unit.body); + new Namer(rootContext(unit)).enterSym(unit.body) } } object typerFactory extends SubComponent { - val global: Analyzer.this.global.type = Analyzer.this.global; - val phaseName = "typer"; + val global: Analyzer.this.global.type = Analyzer.this.global + val phaseName = "typer" def newPhase(_prev: Phase): StdPhase = new StdPhase(_prev) { - resetTyper; + resetTyper def apply(unit: CompilationUnit): unit = unit.body = newTyper(rootContext(unit)).typed(unit.body) } |