diff options
author | Paul Phillips <paulp@improving.org> | 2012-02-13 21:05:16 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-02-13 21:05:16 -0800 |
commit | 57758b518b2409ea0cc1aa0be7853025aa053ab8 (patch) | |
tree | 84a8195ccc1e42c5b6e49c1e5bfeae63e125d668 /src/compiler | |
parent | 8b06f1b27c54e9d02739d7062aad2711cd758188 (diff) | |
download | scala-57758b518b2409ea0cc1aa0be7853025aa053ab8.tar.gz scala-57758b518b2409ea0cc1aa0be7853025aa053ab8.tar.bz2 scala-57758b518b2409ea0cc1aa0be7853025aa053ab8.zip |
Man, these one argument asserts.
Some day, outlawed!
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/reflect/internal/Scopes.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/reflect/internal/Scopes.scala b/src/compiler/scala/reflect/internal/Scopes.scala index 54d3de09cd..37464ebf29 100644 --- a/src/compiler/scala/reflect/internal/Scopes.scala +++ b/src/compiler/scala/reflect/internal/Scopes.scala @@ -120,7 +120,7 @@ trait Scopes extends api.Scopes { self: SymbolTable => * @param sym ... */ def enterUnique(sym: Symbol) { - assert(lookup(sym.name) == NoSymbol) + assert(lookup(sym.name) == NoSymbol, (sym.fullLocationString, lookup(sym.name).fullLocationString)) enter(sym) } |