forked from qt-creator/qt-creator
The method enclosingSymbol() should always return a ScopedSymbol.
This commit is contained in:
@@ -242,7 +242,7 @@ void Symbol::setScope(Scope *scope)
|
||||
_scope = scope;
|
||||
}
|
||||
|
||||
Symbol *Symbol::enclosingSymbol() const
|
||||
ScopedSymbol *Symbol::enclosingSymbol() const
|
||||
{
|
||||
if (! _scope)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user