From e496c865817790707b4e61ef4f742d7f7b93d04a Mon Sep 17 00:00:00 2001 From: Kampfkarren Date: Wed, 27 Jul 2022 17:26:27 -0700 Subject: [PATCH] Change name --- Compiler/src/ConstantFolding.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Compiler/src/ConstantFolding.cpp b/Compiler/src/ConstantFolding.cpp index 471d4b99..e35c883a 100644 --- a/Compiler/src/ConstantFolding.cpp +++ b/Compiler/src/ConstantFolding.cpp @@ -349,9 +349,9 @@ struct ConstantVisitor : AstVisitor if (cond.type != Constant::Type_Unknown) result = cond.isTruthful() ? trueExpr : falseExpr; } - else if (AstExprInterpString* interpString = node->as()) + else if (AstExprInterpString* expr = node->as()) { - for (AstExpr* expression : interpString->expressions) + for (AstExpr* expression : expr->expressions) analyze(expression); } else