summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Typers.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-07-02 17:53:28 +0000
committerMartin Odersky <odersky@gmail.com>2009-07-02 17:53:28 +0000
commit3b72f6de8213b573675650d4ca16c0563981f965 (patch)
tree0c1b0432ee4ca068a00db330ccf413b79e2530a1 /src/compiler/scala/tools/nsc/typechecker/Typers.scala
parent08a4234ce025896bdcf4910a67d8178cf4336cb2 (diff)
downloadscala-3b72f6de8213b573675650d4ca16c0563981f965.tar.gz
scala-3b72f6de8213b573675650d4ca16c0563981f965.tar.bz2
scala-3b72f6de8213b573675650d4ca16c0563981f965.zip
refined range positions some more; eliminated A...
refined range positions some more; eliminated Array.withDims
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, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index c19cedfe75..2d2cec697a 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -3473,7 +3473,7 @@ trait Typers { self: Analyzer =>
//if (settings.debug.value && tree.isDef) log("typing definition of "+sym);//DEBUG
tree match {
case PackageDef(name, stats) =>
- assert(sym.moduleClass ne NoSymbol)
+ assert(sym.moduleClass ne NoSymbol, sym)
val stats1 = newTyper(context.make(tree, sym.moduleClass, sym.info.decls))
.typedStats(stats, NoSymbol)
treeCopy.PackageDef(tree, name, stats1) setType NoType