diff options
Diffstat (limited to 'sources/scala/tools/scalac/typechecker/Analyzer.scala')
-rw-r--r-- | sources/scala/tools/scalac/typechecker/Analyzer.scala | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sources/scala/tools/scalac/typechecker/Analyzer.scala b/sources/scala/tools/scalac/typechecker/Analyzer.scala index aa15d05f9b..fdb292bc5f 100644 --- a/sources/scala/tools/scalac/typechecker/Analyzer.scala +++ b/sources/scala/tools/scalac/typechecker/Analyzer.scala @@ -78,7 +78,6 @@ class Analyzer(global: scalac_Global, descr: AnalyzerPhase) extends Transformer( def lateEnter(unit: CompilationUnit): unit = { enterUnit(unit); - descr.newSources.add(unit); } def loadMixinCode(pos: Int, clasz: Symbol): unit = { @@ -95,20 +94,6 @@ class Analyzer(global: scalac_Global, descr: AnalyzerPhase) extends Transformer( } } - def loadCode(clasz: Symbol, mixinOnly: boolean): unit = { - assert(clasz.isClass() && !clasz.isModuleClass(), Debug.show(clasz)); - if (clasz.isExternal()) { - try { - global.compileLate(global.getSourceFile(clasz), mixinOnly); - } catch { - case exception: java.io.IOException => - if (global.debug) exception.printStackTrace(); - global.error(exception.getMessage() + "; source file for " - + clasz + " is needed"); - } - } - } - override def apply(unit: CompilationUnit): unit = { global.log("checking " + unit); assert(this.unit == null, "start unit non null for " + unit); |