From acfcff1628cceb95f9432e7f44b4dda695a09e30 Mon Sep 17 00:00:00 2001 From: hrkrshnn Date: Wed, 27 Jan 2021 19:42:08 +0100 Subject: [PATCH] make something in scoper virtual --- libyul/optimiser/Scoper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();