Don't proceed to outer scope once match is found

This commit is contained in:
Dmitry-Me 2014-10-02 12:24:19 +04:00
parent 561f555a70
commit 23bfd21bbc
1 changed files with 2 additions and 0 deletions

View File

@ -2254,6 +2254,8 @@ void Function::addArguments(const SymbolDatabase *symbolDatabase, const Scope *s
break;
}
}
if (argType)
break;
parent = parent->nestedIn;
}
}