diff --git a/libyul/optimiser/Scoper.h b/libyul/optimiser/Scoper.h index 2e262117e..6136976e4 100644 --- a/libyul/optimiser/Scoper.h +++ b/libyul/optimiser/Scoper.h @@ -41,7 +41,7 @@ protected: bool inScope(YulString _variableName) const; /// Creates a new inner scope. - void pushScope(bool _functionScope); + virtual void pushScope(bool _functionScope); /// Removes the innermost scope and clears all variables in it. virtual void popScope();