diff options
author | Martin Odersky <odersky@gmail.com> | 2009-07-02 17:53:28 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-07-02 17:53:28 +0000 |
commit | 3b72f6de8213b573675650d4ca16c0563981f965 (patch) | |
tree | 0c1b0432ee4ca068a00db330ccf413b79e2530a1 /src/compiler/scala/tools/nsc/typechecker/Typers.scala | |
parent | 08a4234ce025896bdcf4910a67d8178cf4336cb2 (diff) | |
download | scala-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.scala | 2 |
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 |