The method enclosingSymbol() should always return a ScopedSymbol.

This commit is contained in:
Roberto Raggi
2010-08-11 10:27:09 +02:00
parent 5248bdee70
commit b94af4e2e1
2 changed files with 2 additions and 2 deletions

View File

@@ -242,7 +242,7 @@ void Symbol::setScope(Scope *scope)
_scope = scope;
}
Symbol *Symbol::enclosingSymbol() const
ScopedSymbol *Symbol::enclosingSymbol() const
{
if (! _scope)
return 0;