diff options
author | Martin Odersky <odersky@gmail.com> | 2013-03-22 18:03:16 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-03-22 18:03:16 +0100 |
commit | b440606b0f0d1772d8a1c3bc1c36b3aa3cb576b5 (patch) | |
tree | 0505df934e0bf917269ae1c777e8a627b18b3d16 /src/dotty/tools/dotc/core/Scopes.scala | |
parent | 5b4f154c9e4c2c6ff48ac68b8d984e306853328f (diff) | |
download | dotty-b440606b0f0d1772d8a1c3bc1c36b3aa3cb576b5.tar.gz dotty-b440606b0f0d1772d8a1c3bc1c36b3aa3cb576b5.tar.bz2 dotty-b440606b0f0d1772d8a1c3bc1c36b3aa3cb576b5.zip |
More fixes for classfile reading.
Including a refactoring of symbol loaders and unpickler traits.
Diffstat (limited to 'src/dotty/tools/dotc/core/Scopes.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Scopes.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Scopes.scala b/src/dotty/tools/dotc/core/Scopes.scala index 2d9df1962..57d9446f1 100644 --- a/src/dotty/tools/dotc/core/Scopes.scala +++ b/src/dotty/tools/dotc/core/Scopes.scala @@ -169,7 +169,7 @@ object Scopes { /** enter a symbol in this scope. */ final def enter[T <: Symbol](sym: T)(implicit ctx: Context): T = { - if (sym.isType) assert(lookup(sym.name) == NoSymbol) // !!! DEBUG + if (sym.isType) assert(lookup(sym.name) == NoSymbol, sym.debugString) // !!! DEBUG newScopeEntry(sym) sym } |