aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-22 11:30:26 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-11 09:33:10 +0200
commite1181d9f5b3fc56baafbe859d3d3441dfdb113a1 (patch)
tree41fb3ba223cd9e9aa299a1b0c2ecd5e3fe3928c8 /compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala
parentd44eb20b8361fdce92496e3f62a8b9d94d93baab (diff)
downloaddotty-e1181d9f5b3fc56baafbe859d3d3441dfdb113a1.tar.gz
dotty-e1181d9f5b3fc56baafbe859d3d3441dfdb113a1.tar.bz2
dotty-e1181d9f5b3fc56baafbe859d3d3441dfdb113a1.zip
Fix typos and redundant statements in previous commits
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala b/compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala
index 40e561d3f..0ea643e0d 100644
--- a/compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala
+++ b/compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala
@@ -248,11 +248,8 @@ class ClassfileLoader(val classfile: AbstractFile) extends SymbolLoader {
(module, _) => new NoCompleter() withDecls newScope withSourceModule (_ => module))
.moduleClass.denot.asClass
}
- val res =
if (rootDenot is ModuleClass) (linkedDenot, rootDenot)
else (rootDenot, linkedDenot)
- println(s"root denots of ${rootDenot.name.debugString} = ${res._1.name.debugString}, ${res._2.name.debugString} / ${rootDenot is ModuleClass}")
- res
}
override def doComplete(root: SymDenotation)(implicit ctx: Context): Unit =