From fc1e62681caebfbc721eb4efc9036654e04c091b Mon Sep 17 00:00:00 2001 From: Sean McDirmid Date: Sun, 31 Aug 2008 02:50:50 +0000 Subject: Fix for #1204, demoting match error to error lo... Fix for #1204, demoting match error to error log message. --- src/compiler/scala/tools/nsc/symtab/IdeSupport.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/scala/tools/nsc/symtab/IdeSupport.scala b/src/compiler/scala/tools/nsc/symtab/IdeSupport.scala index 308137cc40..8000688cf3 100644 --- a/src/compiler/scala/tools/nsc/symtab/IdeSupport.scala +++ b/src/compiler/scala/tools/nsc/symtab/IdeSupport.scala @@ -161,6 +161,8 @@ trait IdeSupport extends SymbolTable { // added to global, not analyzers. case Some(symbols) => symbols.foreach{sym => def f(sym : Symbol) = sym.owner.info.decls match { case scope : PersistentScope => reuse(scope, (sym)) + case scope => + check(false, scope + " is not persistent") } if (sym.isModuleClass) { if (check(sym.name.isTypeName,"") && sym.hasRawInfo) -- cgit v1.2.3