diff --git a/libsolidity/analysis/NameAndTypeResolver.h b/libsolidity/analysis/NameAndTypeResolver.h index f0a671762..2bf238a00 100644 --- a/libsolidity/analysis/NameAndTypeResolver.h +++ b/libsolidity/analysis/NameAndTypeResolver.h @@ -95,7 +95,7 @@ public: Declaration const* pathFromCurrentScope(std::vector const& _path) const; /// Resolves a path starting from the "current" scope, but also searches parent scopes. /// Should only be called during the initial resolving phase. - /// @note Returns an empty vector if any component in the path was not unique or not found otherwise all declarations along the path are returned. + /// @note Returns an empty vector if any component in the path was non-unique or not found. Otherwise, all declarations along the path are returned. std::vector pathFromCurrentScopeWithAllDeclarations(std::vector const& _path) const; /// Generate and store warnings about declarations with the same name.