diff --git a/doc/design/scope.md b/doc/design/scope.md index e08aebfb0194f0d1ee490b437132b06d7b420ec7..23893308b2a0a7294c396833e6e3d3a1f898462f 100644 --- a/doc/design/scope.md +++ b/doc/design/scope.md @@ -62,7 +62,7 @@ class Scope { public: Scope(const std::shared_ptr& scope): parent_(scope) {} - Variable* GetVar(const std::string& name) const { + Variable* GetVariable(const std::string& name) const { Variable* var = GetVarLocally(name); if (var != nullptr) { return var;